Sandspiel is an interactive, browser-based cellular automata simulation game that allows users to experiment with physics-like behaviors using simple elements such as sand, water, fire, and plant matter. Built with Rust compiled to WebAssembly and rendered using WebGL, it achieves high-performance simulation directly in the browser without requiring installation. The project focuses on creative exploration, enabling users to draw elements onto a canvas and observe emergent behaviors as they interact in real time. Its simulation engine models particle dynamics and fluid interactions, creating visually engaging and often unpredictable outcomes that mimic natural processes. Sandspiel also emphasizes community interaction by allowing users to share, fork, and remix creations, turning the platform into a collaborative sandbox for experimentation. The architecture is designed to support extensibility, including the potential to define custom elements through programmable APIs.
Features
- Real-time cellular automata simulation with interactive element placement
- Built with Rust and WebAssembly for high-performance browser execution
- Supports multiple materials with dynamic physics-like interactions
- WebGL-based rendering for smooth and visually rich simulations
- Ability to share and remix creations within a community ecosystem
- Extensible design with potential for programmable custom elements