u/Glad-Journalist-4807

Hi everyone,

I wanted to share my small script I wrote to celebrate the arrival of 2026.

It's a 2D fireworks model featuring interactive gravity, explosion force and drag coefficient. The physics model is significantly simplified, definitely isn't perfect and there's a bit of "magic constant" math involved. Yet it works quite well.

I originally prepared this last December as a "batch puzzle" (complete with sound and music). If you'd like to see it as originally intended, please check out this paste: https://pastebin.com/DhVC31fa or this video: https://www.youtube.com/watch?v=YdoXefx8wgc (fireworks part starts around 2:40)

Code: https://pastebin.com/Y7vtFzJH

reddit.com
u/Glad-Journalist-4807 — 27 days ago