
About
A falling-sand game is a genre of sandbox game that typically uses a two-dimensional particle or cellular-automaton engine to simulate materials interacting in a sandbox environment. sandspiel is a falling-sand cellular-automata game built in Rust (compiled to WebAssembly), WebGL, and JavaScript, playable directly in the browser; it lets players create and simulate interacting particle elements, with support for sharing and forking other players' creations.
How it differs from the original
Beyond typical falling-sand games, its stated long-term goal is to let players program and upload their own custom elements through an API, a feature not yet fully implemented.
Getting started
Play it directly in the browser via the project's website; to build it from source, first compile the Rust/WebAssembly core, then install and run the JavaScript front end.
History
It's a successor to the creator's earlier falling-sand experiments written in JavaScript and Lua, with a companion blog post describing its development in more detail.
Additional notes
- Credit
- Its fluid-simulation code was adapted from an existing open-source WebGL fluid simulation project.