A colorful and simple particle physics sandbox toy. Tap and drag around to attract particles. Simulation is in 3d space using somewhat accurate Newtonian physics. 

  • Press space to spawn more particles. 
  • Press C to change the color palette.
  • Click and drag to apply gravity.


Dev Notes:

This game is rendered using nothing but a single html div and a giant box shadow string. No game engines, no canvas, no gpu magic. I find that by adding limitations one ends having to be a bit more creative to get a result. This project was an experiment to see how far I could take a single box shadow on a single div element. It is just 100 or so lines of code. Nothing complicated. Git hub source code can be found here

I'd be interested in taking this further so any ideas on mechanics or the like to try out do let me know.

Leave a comment

Log in with itch.io to leave a comment.