Logic Circuit
Simulation.

...

Discover the World of
Logic Circuits.
Now, even faster!

New Circuit

Please use a desktop device for the best user experience.

LogiJS Editor

Samples.

A LogiJS example sketch showing the three basic logic gates
A LogiJS example sketch showing the three basic logic gates

#1 Basic Gates

This sketch demonstrates the three basic logic gates, AND, OR and XOR. It also shows the usage of input and output elements. Logic gates are the fundamentals of every logic circuit.

A LogiJS example sketch showing a half adder
A LogiJS example sketch showing a half adder

#2 Half Adder

This sketch implements a half adder that is used to add two single binary digits. Half adders can be combined to form full adders, used to add binary numbers.

A LogiJS example sketch showing a full adder
A LogiJS example sketch showing a full adder

#3 Full Adder

This sketch implements a full adder that is used to add two single binary digits. Full adders constist of two half adders, taking two binary digits and a carry bit as inputs. Full adders can be combined to build integer adders of any size.

A LogiJS example sketch showing a traffic light simulation
A LogiJS example sketch showing a traffic light simulation

#4 Traffic Lights

This sketch simulates traffic lights using a 4-bit counter (see example #5) and a diode matrix. There are lights for road traffic and for crossing pedestrians. This example shows the usage of diodes, elements that connect wires in one direction only.

A LogiJS example sketch showing a 4 bit counter
A LogiJS example sketch showing a 4 bit counter

#5 4-Bit Counter

This sketch implements a simple counter made using D gates. It is connected to a clock, permanently increasing the binary output value. When the value passes the biggest possible value (fifteen in this case), the counter restarts from zero.

Show All

About LogiJS 2.

LogiJS 2 is an open source logic circuit simulator, forked from the original LogiJS.

The motivation for making this fork, was that the original site was missing some features and it was put on hold by it's developer.

If you have any suggestions (new components, or other functianality), feel free to open a new issue on codeberg