This is a raycasting project. Adjust the span of the light and drag the black shutters.
Notes & Credits
I won't be active for a while. This is a project to keep you occupied.
Thanks to @GRA0007 for the enhanced dragging.
And thanks to whoever invented raycasting.