Math Under the Hood
i = 0x5f3759df - ( i >> 1 );

The math under the hood of code, games, and everyday ideas.

Animated explainers of clever tricks like Quake III's fast inverse square root, and the fundamentals that make them click. New videos on YouTube.

Subscribe on YouTube

Latest video

Fast Inverse Square Root: How Quake III's Magic Number Works. Watch on YouTube

What we make

Clever tricks

The surprising math inside famous code and algorithms, unpacked step by step.

Fundamentals

The essential ideas explained clearly, building intuition before formulas.

How it's made

Every video is animated with Manim, the open-source library behind 3Blue1Brown, and narrated with an AI voice.