This is a logical NOT gate (or inverter).
What it does:
If the rays of the laser above the gate can enter the gate (input: 1), the laser on the right is blocked (output: 0).
If the rays of the laser above cannot enter the gate (input: 0), the rays of the laser on the right pass through the gate (output: 1).
So this gate returns the state that is not the input, therefore "NOT gate".
CONTROLS:
Right arrow: put the input on 0.
Left arrow: put the input on 1.
How it works:
The white laser in the lower left corner makes the rectangle inside the gate opaque. Every additional laser (that is not white) sets the opacity from 1 to 0 or 0 to 1.
If there are two lasers (VDD and input), the rectangle opacity changes from 1 to 0 to 1, so the rectangle remains opaque.
If there is only the laser on VDD, the rectangle opacity changes from 1 to 0, so the rectangle becomes transparent.
I'll try to make some other logical gates. Maybe we can create a computer with them.
If you know a material that changes its opacity when hit by a laser beam, contact me.
