| Logic's Gate Documentation |
|
The Logic's Gate morphs can be found in the Objects browser, under Logic. It is recommended that you create your logic circuits within a Playfield. This can be found within the Presentation category in the objects tool above. Create a new playfield, then simply drag new gates on to this field. To connect these gates, drag logic wires onto the play field. Connect the inputs first, then the outputs. This is an important detail, as inputs must be connected before outputs for them to work correctly. To set the state of an input, mouse over the Input and press 't' for True or 'f' for False. You may need to click on the Input before it will accept keystrokesExample: Step 1) Create a new playfield by dragging one out of the Presentation category of the Objects browser (I like to turn gridding on via the Halo menus) ![]()
Step 2) Drag the desired logic gates from the Objects
tool on to the new playfield
Step 3) Connect the gates with Logic Wire. Drag the
logic wire from the Objects browser onto the playfield . Connect the
wire inputs first, then the wire outputs. 3a:
4) Once all gates are connected, you may set the
states of inputs to see how the state propagates through the circuit.
For example, in the circuit above, both inputs must be true before the
output (State) of the AND gate is true. 4a: Here, one input is true(Colored green), the other
false(Colored white), hence the AND gate state is false. 4c: An AND gate with 3 inputs:
5
|











