Browse Search Popular Register Upload Rules User list Login:
Search:
Neural Network Logic Gates

Image:
screenshot of the scene

Author: UnityDogGaming04

Group: Default

Filesize: 79.74 kB

Date added: 2022-03-26

Rating: 5

Downloads: 778

Views: 269

Comments: 11

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

All gates except the XOR gate compute in 2 frames, while the XOR gate computes in 3. It has strange flickering behavior I can't fully understand but all the other gates work fine.

AD to operate inputs, the top neuron in each gate is the output
Last edited at 2022/03/26 23:12:11 by UnityDogGaming04
Please log in to rate this scene
edit
Similar scenes
Title: Simple Neural Network (ICOR COLLAB)
Rating: 5
Filesize: 6.6 kB
Downloads: 839
Comments: 2
Ratings: 1
Date added: 2009/11/06 17:33:59
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Logic Gates fix
Rating: 5.5
Filesize: 323.74 kB
Downloads: 842
Comments: 3
Ratings: 2
Date added: 2008/08/15 11:55:12
Made with: Phun
Rating: rated 5.5
download
Title: Machanical Logic Gates 纯机械结构逻辑门
Rating: 5
Filesize: 56.31 kB
Downloads: 458
Comments: 2
Ratings: 1
Date added: 2023/01/13 09:37:14
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Logic Gates
Rating: 6.6
Filesize: 330.92 kB
Downloads: 718
Comments: 3
Ratings: 5
Date added: 2008/08/15 10:26:57
Made with: Phun
Rating: rated 6.6
download
Title: [LAG] Digit Recognition Neural Network
Rating: 5.625
Filesize: 177.02 kB
Downloads: 1575
Comments: 6
Ratings: 2
Date added: 2023/03/09 05:01:41
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: logic gates
Rating: 5
Filesize: 59.18 kB
Downloads: 944
Comments: 1
Ratings: 1
Date added: 2020/11/22 15:27:05
Made with: Algodoo v2.1.0
Rating: rated 5
download
:s :huh: :blink:
Algodooper - if you don't know what logic gates are, check them out here

go to your default browser to use the link, it won't work otherwise
UnityDogGaming04 -- I think Algodoopr is confused because you provide no instructions how to use the scene. I was somewhat confused too, and I understand logic gates very well. For example, what keys are inputs, and what indicators are outputs. Don't assume everyone knows exactly how to use the scene simply because it may be obvious to you. A few instructions are always helpful in every scene that requires user interaction.
Oh forgive me. I forgot to add controls and such. Adding them now.
Okay, now the scene works as expected.

BTW - The flickering when both A and D keys are held down is caused by Algodoo attempting to determine which tool the user wants to select. You can stop that flickering by putting the scene in "play" mode when running. Add the following script in upDate of any object:

app.gui.playmode = sim.running
that's better bruh, thanks!
Xray - the flickering I was talking about was the neurons in the xor gate spontaneously and briefly changing value, most specifically the output neuron. A moment after it enters a neutral state, it tends to flicker.
Oh yes, now I see what you are talking about. It doesn't happen very often for me, maybe once every 3 to 5 times I change inputs. It flickers after going from on to off state. I tried different sim frequencies, but that did not make any difference. Just a gut feeling that the flicker is caused by the relatively complex logic and math calculations that you do for the xor logic. The other gates are much simpler and therefore less likely to hiccup. I wouldn't be too concerned about it because this is just an educational scene. If those gates were controlling the trigger circuitry of a nuclear weapon, then I would be just a tad more concerned about it. :lol:
Last edited at 2022/03/27 05:12:11 by Xray
Q: The XOR gate has strange flickering behavior?
A: That's because you are not pressing the A and D keys at exactly the same time. To check, set both inputs to the same key and you won't see any flickering.
Last edited at 2022/03/27 12:19:51 by s_noonan
It flickers occasionally for me when I press either the A or D key by itself. I think it's caused by the propagation delay of the signal through the logic and math routines, which is causing erratic timing. It seems overly complex for a basic xor gate.


If you slow the "Simulation Speed" down to 0.5 then the flickering becomes more obvious.
Last edited at 2022/03/27 17:26:12 by Xray
I see what you are saying and cannot come up with a better story than you.