Skip to content

馃幆 Rays and Intersections: Does This Line Hit That Shape?

A ray is a starting point and a direction. Asking where it hits something powers mouse picking, bullets, shadows and ray tracing. Build a ray-circle test from what you already know, then trace a tiny picture.

22 November 2026 路 ~9 min read 路 2 interactive demos

馃寑 Ray Marching: Drawing 3D Worlds with Distance Functions

With a 3D distance function, a fragment shader can draw a whole scene without a single triangle: march a ray from each pixel, jumping as far as the distance allows. Watch the jumps, then explore a live scene. Part 4 of the signed distance fields series.

21 November 2026 路 ~10 min read 路 2 interactive demos