Coding Challenge - 2D Raycasting
Offered By: Coding Train via YouTube
Course Description
Overview
Implement a basic ray casting engine with line segment "surfaces" and vector "rays" in this 36-minute video tutorial. Learn to simulate a light source casting shadows in a 2D canvas using p5.js. Explore concepts such as creating a Ray class, casting rays, finding intersections, and adding collision detection. Discover how to work with multiple boundaries and incorporate Perlin noise for movement. Gain insights into potential improvements and access additional resources on 2D visibility, line-line intersection, and related coding challenges. Follow along with the provided p5.js Web Editor sketch and delve into the world of 2D ray casting.
Syllabus
Introduction.
Coding Starts.
Creating a Ray Class.
Casting Rays And Finding Intersections.
Casting Multiple Rays.
Adding Collision Detection For Every Ray.
Multiple Boundaries.
Moving With Perlin Noise.
Suggestions For Improvements.
Taught by
The Coding Train
Related Courses
Creative Programming for Digital Media & Mobile AppsUniversity of London International Programmes via Coursera Online Games: Literature, New Media, and Narrative
Vanderbilt University via Coursera Game Design Concepts
Canvas Network General Game Playing
Stanford University via Coursera Program Arcade Games - Learn Computer Science
Independent