# Cellarium: A Playground for Cellular Automata

Hey HN, just wanted to share a fun, vibe-coded Friday night experiment: a little playground for writing cellular automata in a subset of Rust, which is then compiled into WGSL. Since it lets you dynamically change parameters while the simulation is running via a TUI, it's easy to discover weird beh…

- **Page:** https://magpie.gallery/i/cellarium-a-playground-for-cellular-automata-h6hq
- **Type:** Link to an idea elsewhere
- **Category:** Creative & design
- **Tags:** cellular-automata, simulation, rust, gpu, playground

## Source

Web · andrewosh: Cellarium: A Playground for Cellular Automata

- **Original:** https://news.ycombinator.com/item?id=47096186

> Hey HN, just wanted to share a fun, vibe-coded Friday night experiment: a little playground for writing cellular automata in a subset of Rust, which is then compiled into WGSL. Since it lets you dynamically change parameters while the simulation is running via a TUI, it's easy to discover weird behaviors without remembering how you got there. If you press "s", it will save the complete history to a JSON file (a timeline of the parameters that were changed at given ticks), so you can replay it and regenerate the discovery. You can pan/zoom, and while the main simulation window is in focus, the arrow keys can be used to update parameters (which are shown in the TUI). Claude deserves all the credit and criticism for any technical elements of this project (beyond rough guidelines). I've just always wanted something like this, and it's a lot of fun to play with. Who needs video games these days. https://github.com/andrewosh/cellarium

## GitHub projects

- https://github.com/andrewosh/cellarium

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
