Coder Social home page Coder Social logo

logicgates's Introduction

LogicGates

Creating computers from AND and NOT, inspired by Sebastian Lague : https://www.youtube.com/watch?v=QZwneRb-zqA

SCREENSHOT:

solarized palette

USER INSTRUCTIONS:

-Run logic.py -Make sure units.txt is closed while logic.py is running -Line 427, replace False by True if you want the blocks you created to be erased when you will launch the script again (remove an anwanted block manually in the units.txt file).
-Select a block in green on the bottom left, displace it by clicking on it.
-Click on a node and release on another to link them. If you click on a node from the input block, it will only change it's value. To link those, select another node first.
-Click on an input node to delete its connection.
-An output node can be linked to several input nodes.
-Press the button to register a field's input on the top left. -Press the create button to create a bloc from what is on the screen.
-Press the clear button to clear the workbench.

BUGS (TODO):

-Change input/output block's size before linking their nodes.
-Blocks can't be removed yet (except by clearing the whole workbench)
-Do not create unnamed blocks, or give the same name to different blocks, and use only letters.
-Sometimes connections do not update, displace a block to force update if the results on screen are not the ones expected.

logicgates's People

Contributors

yeb02 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.