MaxBittker/sandspiel

Creative cellular automata browser game

JavaScript

3,200

346 commits

updated Sep 10, 2026

See the code

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

game
rust
wasm
webassembly
webgl

MaxBittker/sandspiel

Creative cellular automata browser game

JavaScript

3,200

346 commits

updated Sep 10, 2026

See the code

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

game
rust
wasm
webassembly
webgl

Project health

Overall

3.2/10

Maintained

5/10

Code review

3/10
OpenSSF Scorecard

Significant stargazers

(top 24 of 56)

Paul Irish

32,122 followers · starred Jun 2019

Jared Forsyth

1,314 followers · starred Jul 2025

David Peter

8,313 followers · starred Dec 2018

David Cramer

3,465 followers · starred Apr 2019