MaxBittker
sandspiel
Rust

Creative cellular automata browser game

Last updated Jun 30, 2026
3.1k
Stars
226
Forks
134
Issues
+1
Stars/day
Attention Score
85
Language breakdown
No language data available.
โ–ธ Files click to expand
README

sandspiel

"Imagine the cool phenomenon when the wind blows the falling leaves. This game simulates the phenomenon with powder (dots)!" -DAN-BALL

This is a falling sand game built in rust (via wasm), webgl, and some JS glueing things together.

You can play online or read a longer post on the project

The goal was to produce an cellular automata environment that's interesting to play with and supports the sharing and forking of fun creations with other players. Ultimately, I want the platform to support editing and uploading of your own elements via a programmable cellular automata API.

๐Ÿ› ๏ธ Build:

# build the wasm once:
cd crate && wasm-pack build && cd ..;
npm install;
npm run start;

then in a separate terminal:

cargo watch -s 'wasm-pack build'

a successor to my previous efforts in javascript and lua

Fluid simulation code adopted from https://github.com/PavelDoGreat/WebGL-Fluid-Simulation

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท MaxBittker/sandspiel ยท Updated daily from GitHub