A little C program you can use to create your own mini firework display.
Tested on Ubuntu 22.04.4 LTS with gcc version 11.4.0.
Compile and run:
gcc -o fireworks fireworks.c -lX11
./fireworksClick anywhere to generate a firework. Click multiple times for a pretty firework.
Add as many colors as you like by adding the hex value to char colors.
Use only six character hex strings; no alpha channel.
Adjust the values in the createFirework function to adjust firework
speed and expansion rate.
MIT. Do whatever you want.
Please send questions and comments to [email protected]
Have fun!
