Why is the shower never right?
You want 38°C. The water takes a few seconds to travel from the tap to you, and you adjust by how it feels now. Change the delay and how hard you turn the tap, and see whether you ever get a comfortable shower.
How you turn the tap:
–hottest it gets
–until it stays within 1°C of 38°C
How it works
The tap mixes cold water at 15°C with hot water at 60°C. Every moment, you turn the tap a little in proportion to how far the temperature you feel is from 38°C. The catch is that what you feel is the water you set some seconds ago. Long delays and big turns together produce overshoot, and past a point, endless swinging.
Runs entirely in your browser. Nothing you enter is sent anywhere.