A little C program you can use to create your own mini firework display. Requires Xlib.
Only tested on Ubuntu 21.10, but should work anywhere Xlib does.
Compile and run:
gcc -o fireworks fireworks.c -lX11
./fireworks
Click 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 danruscoe@protonmail.com
Have fun!