Cellular automata snowflakes for WASM built with Rust, Pixels, and WGSL.
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
| screenshot.jpg | ||
Snowflakes
A little cellular automata simulation for snowflakes based on C.A. Reiter (2005) I made to play with Rust graphics libraries.
Running
By default it works with winit. To build for WASM you can use:
cargo run --target wasm32-unknown-unknown
wasm-server-runner path/to/file.wasm
References
- Clifford A. Reiter, A local cellular model for snow crystal growth (2005), doi: 10.1016/j.chaos.2004.06.071
- parasyte/pixels Examples for
pixels - wgpu.rs
- Alaskan FX, Growing Snowflakes with a Cellular Automata (2026), YouTube: youtu.be/qePG9J_Lfz0
