headlight

fun headlight(radius: Float, distance: Float): Float

How much of a lamp at the camera reaches a wall radius from the axis and distance ahead: nearly all of it up close, less and less further down. Seen from inside a tube, no normals are needed.