Playing with logic gates

Just wanna share a small educational app I made for building and simulating digital circuitry with logic gates and such.

Check it out here. Have fun :slight_smile:

This is very impressive! Other than in your pages, are you planning on releasing the source? Is there a way of autoloading sample circuits?

Thank you!

I’ve just added a few buttons in the upper right corner; “Save as default” and “Clear default”.

“Save as default” will store the current state in browser local storage. This state will be restored automatically next time you open the app. (Hope this was what you were asking for)

“Clear default” will wipe it from local storage, so the app will start up empty.

And yes, I intend to put the source on github. Will add a link from pages when it’s done.

-Marius

I built a set of tutorials with my son years ago, using a java based web applet. We put it up on my website and even taught a few classes with it. It was later translated into javascript so it could continue with java was taken out of browsers. It would be fun to translate it for use in a new system as time allows. That’s why I asked about loading a sample circuits; not to save them, but to bring them up on a page as part of a tutorial.

I see, sounds interesting.

I’ve added a new button “copy link” on the upper right corner. It will create a link with the current state encoded in a query parameter. Should work fine as long as the design+component library are kept small. Too large program states causes problem because of url size limitations.

Hope this is useful for your tutorials. Please share a link if you have something in the public.

I’ve also published the source on github and added link from pages.

Have fun!

-M