Skip to content
Playing with code
The Ape Throws Farther
Playing with code
Home
tinyrenderer
tinyrenderer
Home
Bresenham’s line drawing
Triangle rasterization
Barycentric coordinates
Hidden faces removal
Naive camera handling
Better camera
Shading
More data!
Tangent space
Shadow mapping
Ambient occlusion
Bonus: toon shading
Afterword
tinycompiler
tinycompiler
Home
Abstract syntax trees
SLY: lexer and parser
Symbol tables
Displays
Assembly generation
DIY lexer
DIY parser
Afterword
tinyoptimizer
tinyoptimizer
Home
mem2reg
tinyfloat
tinyfloat
Home
Computers and Numbers
Printing floats
Addition and errors
Division
The banana tossing project
The banana tossing project
Home
The Ape Counts Seconds
The Ape Buys a Better Watch
The Ape Misses the Ground
The Ape Throws Farther
The Lazy Ape
The Jungle Is Windy
The Ape Learns the Jungle Laws
Between Two Seconds, Things Happen
strange things
strange things
Cursed fire or #define black magic
Mendocino motor and Earnshaw's theorem
The Ape Throws Farther