Donut math: how donut.c works

A nice tutorial about the background of donut.c, covering topics like perspective projection, z-buffering, rotation matrices and some other useful stuff, wrapped up with a Javascript re-implementation of the original C code.