This is a nand gate simulator. Here's some instructions to get started:

If you're unsure where to start, try out the demonstration patterns shown under the canvas.

Requires HTML5