At the press of a button, causes fireworks to erupt from the bottom of the screen.
The idea is to create and HTML canvas that spans over the entire viewport and then have circles animate upwards with a trail and after some period of time delete themselves and create an explosion effect
Best results by running a local server in the current working directory (the one with index.html), for example with php -S localhost:8000 (opens server on localhost, port 8000
Most of the code as retrieved from here and here
- Comments
- Make code readable
- Break into multiple files
- Fix GC issues, stuttering after many objects have been deleted