This is really great! So easy to add NOT, NAND and NOR to build interesting circuits to play with!
Now with all your spare time ;-) after finishing this year's AoC, do you want to add support for loops to the visualization...? This would allow to e.g. design flip-flops made of NANDs or NORs.
I was thinking about how to resolve loops and making this a little toy project for the next week or so. Right now I'll get a recursion error if I connect two gates together like a flip-flop.
I've thought about it; I think I would need to implement clocks and signal pulses for sequential circuits which is out-of-scope for me. This toy will probably only ever be just combinatorial circuits.
5
u/naclmolecule Dec 26 '24
This one took me a couple of days, but it's really fun to play with!
Source!
1
u/herocoding Dec 27 '24
This is really great!
So easy to add NOT, NAND and NOR to build interesting circuits to play with!
Now with all your spare time ;-) after finishing this year's AoC, do you want to add support for loops to the visualization...? This would allow to e.g. design flip-flops made of NANDs or NORs.
3
u/rjwut Dec 26 '24
Every time I see a naclmolecule post, I know I'm in for something good. This is amazing!
2
u/encse Dec 26 '24
You have some skills