I've optimized a little more and here's the result:
http://scratch.mit.edu/projects/jacool/782810
How it works:
15 rays are sent out from the cameras position
When they hit a wall the distance is saved to a list.
Then a pen draws walls, with size and shade from the list.
It only works in turbo speed mode.

Offline