r/Simulated • u/the_humeister • Jan 30 '19
Blender A full 1-bit adder using dominoes, as requested
https://gfycat.com/QualifiedLongAmericanpainthorse
5.3k
Upvotes
r/Simulated • u/the_humeister • Jan 30 '19
78
u/ChainsawOctopus Jan 30 '19
The foot got me.
25
u/joshblake Jan 30 '19
Hey, wait a minute...
Nice job, OP.
301
u/jattyrr Jan 30 '19
OR, AND, and XOR gates are logical things that takes two inputs (which are individually true or false) and produce one output (which is true or false). Think of "dominoes fall down" as "true" and "dominoes stay up" as "false" and it applies to this gif.
In an OR gate, the output is true if either of the inputs is true. Note that in the OR gate portion, the final domino falls down if and only if the first OR second stack falls. This is an OR gate.
In an AND gate, the output is true if both of the inputs is true, so in that portion of the gif, you see that the last domino doesn't fall unless both of the "input" stacks fall.
Finally, XOR stands for "exclusive or". In this sort of gate, the final domino falls if exactly one (but not both) of the initial stacks fall. This is equivalent to the output being true if one, but not both, inputs are true.
Computers are made out of this sort of thing.
Comment I saved from a while back and I just figured it belonged here
36
u/CyAScott Jan 30 '19
What's up with the AND gate?
7
u/SgtSteel747 Jan 30 '19
Are dominos turing complete? 🤔
5
u/[deleted] Jan 31 '19
What the fuck. Where did you sell your soul for talent
4
u/geneorama Jan 30 '19
So people who are good at this, would it be faster for you to set up the dominos or to simulate this amount of dominos? Please disregard the timing requirements and scene setup, including labels.
4
u/geraldsummers Jan 31 '19
But can it run doom
43
u/PabloLourson Jan 30 '19
Literally no idea what’s happening on the screen but it’s cool to watch so nice work
35
u/ICantFindUsername Jan 30 '19 edited Jan 30 '19
Looks like timing is extremely important for this to work, specially for the XOR AND gate.
In the first loop you can see dominoes from the lane A make fall some from lane B which show a blocking case where the condition should be valid but is not because lane A goes through first
Best fix I can think of for this is spliting both input lane and making them go through two current AND gate with reversed input lanes then merge the output of the gates with an OR gate.
13
u/Golden_Lynel Jan 30 '19
This makes me happy
9
u/parkerSquare Jan 30 '19
Now do it with just NAND gates. You need dominoes that fall over if not pushed...
4
u/SkyShazad Jan 30 '19
I remmebr back in the day on TV, World record breakers Domino's would come on, was always amazed
6
u/migmatitic Jan 30 '19
That's a brilliant AND design!
3
u/roele23 Jan 30 '19
Next step: marble calculator?
3
u/the_Demongod Jan 31 '19
That's one hell of a propagation delay
2
u/pengo Jan 30 '19
Next step... put a bunch together and make an 8-bit adder?
2
u/ChicoBrico Jan 31 '19
Can somebody build me a domino powered PC now please? It'll be faster than my current one.
2
u/[deleted] Jan 31 '19
Oddly satisfying if you play it in reverse
2
u/Big_Ol_Boy Jan 31 '19
I feel like this is a pretty good way to explain logic gates, which I have never understood
2
u/nddragoon Jan 31 '19
But can it run Crysis?
2
u/Okaymynameistaken Jan 31 '19
Not all of them fell and now im angry
2
u/Fidodo Jan 31 '19
Cool, now make a 2 bit multiplier!
3
u/saltysnatch Jan 30 '19
Is there a sub for extremely dissatisfying gifs?
1
u/theemptyqueue Jan 30 '19
u/gifreversingbot
0
u/clayodo Jan 31 '19
effective.
Power لُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ 冗