Skip to content

timscodebase/bash-bmp-fork

 
 

Repository files navigation

bash-bmp

Generate Bitmap data in pure bash.

Watch how it was made on YouTube.

Usage

Simple BMP (2x2 pixels)

./simple-bmp > out.bmp

simple-bmp

Color Gradient

./gradient -h 200 -v 200 -o out.bmp

gradient

Sprite to BMP (smile)

cat smile.txt | ./sprite-to-bmp -p palette.txt -o out.bmp

smile

Triangle drawer

./triangle-drawer -w 64 -h 64 -o out.bmp

3D World

./3d-world -w 64 -h 64 -o out.bmp

License

  • MIT License

YouTube

Bash BMP YouTube
Thumbnail

About

bmp generation in pure bash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%