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
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