Lava lamp simulation using metaballs in the terminal
Go to file
AngelJumbo 619e59d338
Update README.md
2022-10-16 20:11:32 -05:00
demo First commit 2022-10-16 20:06:46 -05:00
.gitignore Update .gitignore 2022-10-16 20:08:02 -05:00
LICENSE Initial commit 2022-10-16 20:03:40 -05:00
README.md Update README.md 2022-10-16 20:11:32 -05:00
lavat.c First commit 2022-10-16 20:06:46 -05:00
makefile First commit 2022-10-16 20:06:46 -05:00
termbox.h First commit 2022-10-16 20:06:46 -05:00

README.md

lavat

Little program that simulates a lava lamp in the terminal.

Usage

Usage: lavat [OPTIONS]
OPTIONS:
  -c COLOR          Set color. Available colours: red, blue, yellow, green, cyan and magenta.
                    Besides those colors the default one is the normal foreground of your terminal.
  -s SPEED          Set the speed, from 1 to 5. (default 1)
  -r RADIUS         Set the radius of the metaballs, from 1 to 10. (default: 5)
  -R RIM            Set a "rim" for each metaball, from 1 to 5. (default: none)
                    This option does not work with the default color
  -b NBALLS         Set the number of metaballs in the simulation, from 2 to 20. (default: 10)
  -h                Print help.

Demo

lavat -c red -R 1

demo 1

lavat -c cyan -R 4 -b 20 -r 2

demo 2

Credits