#145 — Ray Casting 2D

Languages

p5.js

Topics

ray casting,games,
Back

In this video, I implement a basic ray casting engine with line segment "surfaces" and vector "rays." The result simulates a light source casting shadows in a 2D canvas.

  • Editing

    by Mathieu Blanchette

  • Animations

    by Jason Heglund

Passenger Showcase

What the Coding Train community has created based on this video

Have you completed a project? Share your work!

Try a challenge!

Suggested by the video you're watching

👁