Click on the canvas to launch fireworks. Under the canvas, you can toggle automatic fireworks and change the likelihood of them spawning. I didn't originally intend to make a firework simulation - I was just experimenting with particle effects and I thought to make fireworks.
WORKS BEST WHEN OPENED IN NEW TAB - https://fireworks.thatcoolcoder.repl.co/
- Optimised particle movement & drawing
- Improved firework chance slider - improved the exponential function
- Improved firework chance slider again - made it go from 0 to 1 - thanks to @Bookie0 for this suggestion