Place a coral on a reef wall and see how much light reaches it. Light falls off as exp(-Kd z), muddy water raises Kd, and a tanh photosynthesis-irradiance curve turns the sinusoidal day into daily production against respiration. Change depth, sediment, cloud, day length, acclimation and respiration to find the noon and daily compensation depths, the 1 percent euphotic depth and the daily P:R ratio. A Blender reef with live water colour and numerical checks built in.