Raycasting

I became very interested in how a raycasting (not to be confused with raytracing) game engine works. To properly understand how it works, I implemented it from scratch, including deriving the mathematics behind it. The end result, which uses the engine in a very simple and crude game, is available on my GitHub.

I wanted to capture my journey in a tutorial-style series. The tutorial is split into three parts:

Posts

Raycasting I: Walls
30 Jun 2025
Raycasting
I became very interested in how a raycasting game engine works and implemented my own from scratch. This is the first post in a series of tutorial-like writings explaining how raycasting works.