Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 597 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 597 Bytes

This fun toy simulates a bunch of semitransparent, reflective marbles under gravity and partially inelastic collisions!

Configuration is done by editing constants (and the ray recursion depth in the fragment shader) and recompiling.

The default for nix run is to start a local webserver. Marble Gravity works through webgl2, kind of. It works on some people's computers in firefox. I should revisit once webgpu is a(n established) thing.

Some screenshots: