4 ms·
This is my favorite cellular automata. The simplicity and elegance that allows for such complex logic. I ported the famous wireworld computer[0] to javascript
by dested 10y ago
This is my favorite cellular automata. The simplicity and elegance that allows for such complex logic.
I ported the famous wireworld computer[0] to javascript a few years back[1]. The source[2] is in c# transpiled to javascript so it may be a bit hard to follow, but still an interesting read of how to squeeze every draw call out of 2d canvas.
[0] http://www.quinapalus.com/wi-index.html http://www.quinapalus.com/wi-index.html
[1] http://dested.com/projects/wire/ http://dested.com/projects/wire/
[2] https://github.com/dested/WireWorld https://github.com/dested/WireWorld
- arethuza 10y agoI love the logging/comments in that design.
- abrookewood 10y ago[1] is soo enthralling. In case it isn't obvious to everyone, you can add an electron with left click and reset things to copper with the right click. It's loads of fun to introduce a few random errors and watch them cascade through the system.