Computer Graphics Step by Step
A lightweight execution-visualization book.
Coordinates and Raster
Screen Coordinates
Plot Point to Pixel
Pixel Grid Basics
NDC to Screen Mapping
2D Linear Transforms
Translate as Vector Add
Scale About Origin
Rotate Quarter Turns
Rotate with a 3-4-5 Matrix
Reflect
Shear
Homogeneous and Compose
Homogeneous Coordinates
Translate as Matrix
Compose Order Matters
Rotate About a Point
Rasterization
Bresenham Line
Midpoint Circle
Scanline Fill Triangle
Barycentric on Triangle
Curves
Parametric Segment
de Casteljau Quadratic
de Casteljau Cubic
Clipping
Point in Rectangle
Cohen-Sutherland Outcodes
Line Clip to Rectangle
Basic 3D
3D Point and Orthographic
Perspective Divide
Project a Cube
Z-Buffer Depth
Pipeline and Color
Triangle Pipeline Capstone
RGB and Hex
Linear Interpolate Color