A fan that speeds up as the afternoon gets hotter: a thermistor reads the room, map() and constrain() turn degrees into a PWM speed, and a transistor drives the motor. This workbench needs JavaScript.