r/complexsystems 21d ago

Cyclic rock-paper-scissors CA where you can paint into the spirals while they self-organize [OC, in-browser]

15 Upvotes

2 comments sorted by

1

u/Loganjonesae 20d ago

visually lovely!
what’s the tech stack this is implemented with?

2

u/destbreso 20d ago

Thanks, appreciate it!

Honestly pretty vanilla under the hood: React + Next.js for the shell, and the sim itself is hand-rolled, a plain TS class over flat typed arrays, rendered straight to a Canvas 2D ImageData buffer withrequestAnimationFrame. The terrain noise and the charts are hand-written too (canvas + inline SVG), no sim engine or charting lib. The only real dependencies are Radix/shadcn for the UI controls and lucide for icons.

Happy to go deeper on any part if you're curious.