Quite simple example using adjust HSL effect and Line of sight behavior.
However if you cannot use Webgl effects you could also make it use grid of black blocks and change their opacity for example.
Drag Yellow lights with left mouse
Add Walls with right mouse
Remove with middle mouse