Inspired by sontek's snowmachine, I decided to quickly adapt fakesteak's code to implement something similar in C.
Simply makes a couple different 'snow like' characters fall down your terminal in two layers. No Unicode characters, just extended ASCII.
Customization can be done by adjusting the characters and/or colors right in the source.
Code is still a bit messy, not polished yet. Should work though. Hopefully. :-)
- Terminal that supports 256 colors (8 bit color mode)
- Requires
TIOCGWINSZto be supported (to query the terminal size)
You can compile it with the provided build script.
chmod +x ./build
./build
./bin/futteru
futteru [OPTIONS...]
Options:
-b: use black background color-d: density factor ([1..100], default is 10)-h: print help text and exit-r: seed for the random number generator-s: speed factor ([1..100], default is 10)-V: print version information and exit