The Logic Lab
// February 26th, 2009 // Experiments, Neuro Productions, Websites
Yea! Finally a new Neuro Productions project: The Logic Lab
The Logic Lab is a node based application for simulating simple circuits of logic gates in the browser.
» Visit the lab and have fun!
Suggestions for improvement are welcome.

















This is beautiful. I would like to change the frequency of the audio output object using an input, as with the dial potentiometer. Thank you. Beautiful visually, form, and functional design.
You are a monster … This is realy great stuff.
Never seen before ..
Execelent for school en student
Thanks
Frank
Thanks for the comments.
@anthony:I thought about that in the beginning of the project, and technically it would be possible (altrough it would rise some problems with the logic gates). But I chose to only work width zero and One values. because its more in line with the logic gates (by definition they work width 0 and 1 values). That’s why I put the ‘potentiometer’ in the sound component itself.
But thanks for the suggestion
Hi Kris, This is great, is something like this also possible for modelling a Petri net?
Thnx,
Michael
Hi Michael,
I don’t know much about Petri nets (had to do a wikipedia search). But it looks like its posible.
It would be nice if it would be possible to build reusable components.
The component would have a set of input ports, the output the component provides and a couple of output ports.
With this paradigm, a NAND is a component that combines an AND and a NOT, an XOR is a combination of NAND components, …. and a student would see how many cool things one can build with just or’s and’s and not’s …
Other components one may build would for example be a base-10 counter with carry bit which gets set when a wrap around from 9->0 occurs. The component only has to have one input port, has an output display and has an output port. Of course, the component is an exercise for the reader, but then it’s easy to build something else … like for example a simple stopwatch.
By combining smaller building blocks one can make more complex designs. If double clicking a component would “zoom in” on the content … then that would be truly great.
Well – you asked for ideas
This may turn out to be a wonderful teaching tool on logical/digital design.
Great work,
– Geert
This is really great! Is there a way to get the source code for this? I am learning Flash/Flex and would like to study the code.
-Nolan
Hi,
We are at the moment developing in flex too, and we have an important deadline in which we have to have a logic function configuration tool. I have seen your tool and it would spare us some time if we could use some of your source code. Could you tell us what possibilities exists?
Thank you,
Stephan
Hiya,
Just wondering, as you can save your creations, can you access them again?
Jessica
hey man, great project, but is it possible to make the area larger, where you can place those elements, as i ran out of space:D
http://www.neuroproductions.be/logic-lab/index.php?id=5256
Hello,
I just wanted to stop by and thank you for this awesome tool! It is great for tinkering around with logic gates and learning more about how they work. As a small suggestion, the ability to zoom in and out and pan around the work space would be great. At present, the work area is rather small and can get crowded fairly easily. Not only does being crowded make things a little harder to adjust, but it also limits the types of circuits that can be built. Anyway, that is just a suggestion. Great work!
@Jessica:
After saving a project, a dialog box comes up and provides a link to where it is saved. Just copy and paste that link into a text file. When you want to edit or view your project, open the file and copy the saved link into your web browser.
Here are a couple of circuits I had fun designing:
A 3-bit ripple carry adder (takes two, 3-bit numbers, adds them, and displays the result as a 4-bit number):
http://www.neuroproductions.be/logic-lab/index.php?id=5382
A simple memory module that can store two 3-bit numbers. It takes a single, 3-bit number as input, with a switch that determines the module in which the number will be stored. A red button simulates a clock pulse. Press the button to store the number in the chosen module:
http://www.neuroproductions.be/logic-lab/index.php?id=5387
Thank you so much for this but can we have a legend of the icons, some i dont know what they are. Please keep this updated need a square i can put I/O on left or right side not just opposite of the front.