DerEnots: A Zig-Powered Redstone-Style Logic Simulator Running Natively in the Browser (WASM)
Hey ziggit!
Just finished a fun pet project I’ve been tinkering with for the last couple of weeks — DerEnots.
It’s a lightweight, fully browser-based cellular logic sandbox inspired by classic redstone contraptions, Wireworld, and similar sandbox games. You get a huge 1000×1000 grid, real-time simulation, smooth panning/zooming, inline block editing, observer mode, speed control up to 100+ TPS, and that satisfying “click-and-build” feel.
What makes it special for the Zig crowd: the entire simulation backend (tick system, signal propagation, block state updates — everything performance-critical) is written in pure Zig and compiled straight to WebAssembly. The frontend is deliberately minimal — just one self-contained HTML file + Canvas, no frameworks, no bloat. It loads instantly and runs buttery smooth even on modest machines.
If you love low-level programming, cellular automata, or just want to see what Zig + WASM can do in a real interactive app, this is a nice little showcase.
Full source code, build instructions, and detailed block documentation are here:
GitHub → GitHub - Neon32eeee/DerEnots: DerEnots is a sandbox for building energy circuits. Create circuits from energy blocks, buttons, delays, lamps, and dividers, control energy flows, and monitor their operation in real time. · GitHub
Play the game right now (no download, no install):
Live demo → DerEnots
Would love to hear your thoughts — bugs, performance feedback, wild contraptions you manage to build, or ideas for new features. Feel free to open issues or PRs!
Built purely for fun and to push my Zig skills a bit further. Hope you enjoy breaking (and rebuilding) things as much as I did! ![]()
