Click anywhere to cast a ray. Red dots = march steps, teal line = ray, green = hit point. The ocean surface is fBm noise viewed from the side.