- Various particle types with different densities, properties (gas, water, rock, etc.) - Highly optimized webgpu simulation (could be optimized even more but pretty decent). - Not exactly physically accurate but pretty cool glowy molten lava. - Fun relativistic impactor that turns earth into a gooey glowing donut.
This was written as a one shot, and it did partially work, but the various refinements and especially the optimization was done afterwards.
Running on github pages. MIT licensed and code is at https://github.com/benjcooley/doomsday_simulator
Have fun.