Just press the green flag to begin. Hold the screen to toggle walls showing on/off (default is off); since it is somewhat laggy, just quickly clicking/tapping likely won't work. It takes a while to render—about 3 minutes on my laptop. If it's too slow, use the faster version: https://scratch.mit.edu/projects/846775102/ Feel free to look inside and replace the wall sprite with something else! Then run it again and see the results.
Heres a brief description about how this works: 1. A ray is shot out of the center of the screen and stops either when it hits the edge of a screen or a wall 2. If the ray hits a wall, it'll stop moving and then move a random distance (usually closer to its previous position) away. If there were no walls in between its previous and current position it will spawn a speck of white. That's what makes the light kind of "scatter." 3. Repeat this 360,000 times! I think "raycaster" is the correct term for this project but I don't really know.