/Raycast-Rendering

This is code for a simple way to render raycasts in Processing. The code collects an array of distances and draws rectangles based on distance. I will be publishing a more complex way in the future to render walls based on a 3D vector which renders walls using brightness of a selected hue/ colour. Doing this would look much smoother than the current program and eliminate the fish eye effect which makes straight lines look as if they are curving. Credit to Daniel Schiffman for his tutorial on YouTube in P5.js

Primary LanguageProcessing

Stargazers

No one’s star this repository yet.