A small RayCasting Visualizer built with Processing.
- Clone the repo
- Open the .pde with Processing
- Placing Walls There is only one wall as a default example. Place some walls by pressing left-click. Then select the endpoint of the line and press left-click again.
- RayCasting Just move your mouse, when not placing any wall
- Movement Mode Toggle with Arrow Left key. Simulates the FOV of a moving person
- Rays per degree Press Arrow Up or Down to modify the Rays per degree if Movement Mode is enabled
- How RayCasting works
- How to implement RayCasting