Logic Gate Simulator

Choose a logic gate, click on inputs to change their state, and observe the output.