Switch to full stage
Loading Project
Loading project …

Instructions

WSQE - Move AD - Turn left right M - Map P - Edit mode (visible only when map is turned on) In Edit mode: Z - Add point X - Delete point Space - Join points 1+2+9+0 - Reset map

Notes and Credits

It's more rasterizer than raycaster but the effect is similar. 2D vector lines are projected into 1D canvas and depth of 'pixels' are compared. Rasterizing algorithm is not using trigonometric functions. Yayć :D http://scratch.mit.edu/projects/embed/23892778/ - Might be faster

TurboWarp is a Scratch mod that compiles projects to JavaScript to make them run really fast. Try it out by inputting a project ID or URL above or choosing a featured project below.