#145 — Ray Casting 2D
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.
Demonstration on how to create 2D visibility/shadow effects for your game.
Discussion of how to calculate which areas are visible from a given point.
A 2d collision detection library for p5.js.
Discussion of line-line intersection.
Exploration of ray marching and signed distance functions to draw funky things.
This video introduces the idea of Linear Algebra and explores the matrix math required for a simple neural network library.
Livestream with ray-casting-2d and rendering ray-casting.
- Editing
by Mathieu Blanchette
- Animations
by Jason Heglund