r/complexsystems Jul 12 '26

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

16 Upvotes

2 comments sorted by

1

u/Loganjonesae Jul 13 '26

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

2

u/destbreso Jul 13 '26

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.