Found in a 90s Popular Electronics, this simple circuit turns on a light when the light stops to fall on the sensor. The sensor can be almost any phototransistor.