Gabriel Gambetta, who wrote the 1-kilobyte JS #raytracing code, is releasing an awesome #ebook on computer #graphics under CC BY-NC-SA; it includes a relatively full-featured rasterizer and a relatively full-featured raytracer.
#algorithms for rotating raster #graphics (with three shears)
Bresenham’s #algorithms for plotting lines, ellipses, antialiased quadratic Bézier curves, etc. #graphics
"stdg" provides #graphics from shell scripts (or anything else that can do text on stdin and stdout) with a simplified PostScript-like command language — but supporting interactivity! Just 1kloc of #Rust. #smallisbeautiful