Skip to content
Playing with code
Home
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
Print
strange things
strange things
Cursed fire or #define black magic
TinyFloat
N.B.: Under construction!