Sandspiel is a creative cellular automata browser game that runs in the web browser.
The project implements a particle simulation system where users can paint different materials onto a canvas and watch them interact according to cellular automaton rules. Sand falls due to gravity, water flows and evaporates, fire spreads and consumes fuel, and plants grow and spread across the environment. The simulation runs in real time using WebGL for rendering and WebAssembly for the computation-heavy automata logic, allowing the tool to handle large canvases with thousands of particles while maintaining interactive performance.
Sandspiel suits anyone interested in exploring emergent behavior through play rather than studying cellular automata theory. It works well as a creative sandbox where experimentation is the primary goal, with no win conditions or failure states. The game provides a low barrier to entry for casual players while offering enough complexity and material interactions to sustain longer engagement. The web-based delivery means no installation is required and the game runs on any modern browser.
The project shows active maintenance with regular updates to the simulation engine and material behaviors. The codebase demonstrates thoughtful architectural choices, particularly in how it balances performance requirements across the rendering pipeline and automata computation. Development activity indicates ongoing refinement of the particle physics and material interactions rather than feature churn, suggesting the maintainer prioritizes stability and simulation quality. The project maintains a clear separation between the WebAssembly simulation core and the web interface, making the codebase approachable for contributors interested in either the physics engine or the user experience layer.