What a beautiful visualization. I will try this on my electronics loving child, see if it takes.
If at all possible: add resistors and capacitors. With those two added you can make many more interesting circuits (Schmitt triggers, a-stable stuff).
If at all possible: add resistors and capacitors. With those two added you can make many more interesting circuits (Schmitt triggers, a-stable stuff).
Would probably be slower but doable, fun mod for the future!
Your current algorithm would need to be able to accept a wider range of values but it seems like it would work from a math standpoint.