This is the class assignment using LED strip and motor as effectors and photoresistors as sensors.
When it is not disturbed, the head will sway slowly and there will be a gradation in green light fading in and out.
However, if you get too close, it will shake violently and the LED strip will be shone red.
Below is a video of how it is: