Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 728 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 728 Bytes

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