Build a visible region by sweeping its edges
Amit Patel / Red Blob Games
Only the nearest wall blocks a viewing direction; changes of that wall define visible triangles.
Original source and credit ↗Opening the explanation…
The original experience and its breakdown will appear here.