Use arrow keys to move through the world. Hold [m] to see the map. The settings are in the top. I'm not using interpolation so the jagged curves on walls are a normal result of a relatively large ray speed factor. You can reduce it but it will lag more (the ray has to be moved more times)
I made this from my old raycaster, but changed it to add more features. That link is here: https://scratch.mit.edu/projects/365931282/. All the same resources were used, but I changed the code a little bit. ----------------------------Change Log-------------------------- v.1 > Made old version. v.1.5 > Updated and launched to new project (12/28/22). v.1.6 > This was a minor update, I just changed the default resolution from 200 to 100 to reduce lag. It is also more compatible with the slider at the top. The color was also changed to orange. v.1.7 (3/23/26) > Corrects for distance variation by angle with cosine v1.8 (3/26/26) > Corrects for warping at edges through angle variation, also changed color scheme v1.8.1 (4/8/26) > I added a pen up block to correct for trailing, and FOV is adjustable --------------------------------------------------------------------