Skip to content

🎆 A little C program you can use to create your own mini firework display.

License

Notifications You must be signed in to change notification settings

ruscoe/fireworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Fireworks

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.

Requirements

Usage

Compile and run:

gcc -o fireworks fireworks.c -lX11
./fireworks

fireworks

Click anywhere to generate a firework. Click multiple times for a pretty firework.

Customization

Add colors

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 firework behavior

Adjust the values in the createFirework function to adjust firework speed and expansion rate.

License

MIT. Do whatever you want.

Please send questions and comments to [email protected]

Have fun!

About

🎆 A little C program you can use to create your own mini firework display.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages