Quick heads up: This code contains all the changes made by Dave Eddy's video showcasing this project, which only works on bash version 5.3 and up. As of writing this (november), Debian only ships with bash 5.2. To check your bash version, pull up a terminal and type echo $BASH_VERSION.
If you cannot install bash 5.3 on your system, run git checkout d6f757f609fe5a004ac3c97ab9226bd1fbc648f7 after cloning the repo. This will go back to a previous commit that doesn't have any of the changes from Dave Eddy's video.
Generate Bitmap data in pure bash.
Watch how it was made on YouTube.
Simple BMP (2x2 pixels)
./simple-bmp > out.bmp
Color Gradient
./gradient -h 200 -v 200 -o out.bmp
Sprite to BMP (smile)
cat smile.txt | ./sprite-to-bmp -p palette.txt -o out.bmp
Triangle drawer
./triangle-drawer -w 64 -h 64 -o out.bmp
3D World
./3d-world -w 64 -h 64 -o out.bmp
- MIT License


