Skip to content
Sign upLog in
← Back to Community
🎇🎇 Fireworks! 🎇🎇
Profile icon

🎇 Happy New Year! 🎇

To celebrate the new year, I made this simulation of fireworks.

For the best experience, view it here:

If you enjoy this, please upvote!

I would have posted a bit later, but I am about to leave for a short holiday where there will be no internet.

This is my second firework simulation. If you want, you can check out my first attempt at

With the exception of the PIXI.js library and some color conversion functions, all of the code is my own. All of the assets are also my own, except for the explosion noise, which I found here. Thank you Rudmer_Rotteveel for putting this sound online.

Technical details

The rendering is done by PIXI.js, through the game engine in my wrk.js library. Some of the movement is also handled by wrk.js.

I created the particle system from scratch. The particles have the attributes:

  • position
  • velocity
  • radius
  • drag coefficient
  • color
  • edge mode
  • live time
Profile icon
Profile icon
Profile icon
Profile icon
Profile icon

Wow! Really satisfiying! Happy New Year to you too!

Profile icon

really cool! like it :D