Skip to content

GarvitSinghh/2DRaycasting

Repository files navigation

2D Raycasting

2D RayCasting and Rendering in p5.js

Made it more User Interactive and added more features like Colorful rendering and The ability to draw walls.

View it on Netlify or Github Pages


Controls:

P - Pause

Spacebar - Switch between Mouse Guided and Random Movement

Scroll - Increase and Decrease Ray Alpha

Click - Hide/Show Cursor OR Draw Boundaries

C - Cast/Uncast


Inspired from Daniel Shiffman's Coding Challenges #145: 2D Raycasting and #146: Rendering Raycasting

Releases

No releases published

Packages

No packages published