Live data from Hacker News

Show HN: Wired Logic – a pixel-based logic simulator

github.com

11–16 of 16 posts

Re: Show HN: Wired Logic – a pixel-based logic simulator

#11

Awesome! have a gif of a working calculator? Reminds me of the way that people would build digital electronics in the 'powder-toy' genre of games. Was that an inspiration for this project?

Looks similar to Wireworld[1], although the rules are different 1: https://en.wikipedia.org/wiki/Wireworld

Yeah, this was indeed inspired by Wireworld and its frustrating timing constraints.

Re: Show HN: Wired Logic – a pixel-based logic simulator

#12
Reminds me of John von Neumann's 29 state cellular automata [1], which he used to build a universal constructor [2], but that historic rule made it much harder to cross signals. (You could easily modify the rule to make that easier, but then it wouldn't be historically accurate, which is what makes it so interesting: he designed the rule and the universal constructor in his extremely powerful mind and on ordinary paper!) It's able to create and destroy wires, to the extent that it can actually build other machines and even replicate itself.

[1] https://en.wikipedia.org/wiki/Von_Neumann_cellular_automaton

[2] https://en.wikipedia.org/wiki/Von_Neumann_universal_construc...

Re: Show HN: Wired Logic – a pixel-based logic simulator

#13

Earlier quoted context omitted.

Looks similar to Wireworld[1], although the rules are different 1: https://en.wikipedia.org/wiki/Wireworld

Yeah, this was indeed inspired by Wireworld and its frustrating timing constraints.

why did you choose the number 6 for maxCharge?

Re: Show HN: Wired Logic – a pixel-based logic simulator

#14
post #13

Earlier quoted context omitted.

Yeah, this was indeed inspired by Wireworld and its frustrating timing constraints.

why did you choose the number 6 for maxCharge?

The larger the number the slower the simulation will run. But a numer that is too low will force you to include repeaters everywhere. So 6 seamed to be reasonable.
Post reply on HN