Raycasting Shadows: Umbra, Penumbra and Soft Shadows from an Extended Light (2D)

Side view with ray bundles, face-on screen image, probe view of the lamp, exact formula and numerical checks