visual notes on algorithms, math, graphics, and the tools I use.
built to relearn from, and to copy into an llm when you want to keep going. every page has a markdown version.
algos
13 pages
big o
how the work grows as the input grows, and why the constants drop out.
binary search
halve a sorted range until the target is found or the range is empty.
insertion sort
take the next item and slide it back to where it belongs, like cards in a hand.
merge sort
split the array in half, sort each half, then merge the two sorted halves back together.
data structures
9 pages
dynamic array
an array that doubles when it fills up, so adding to the end stays cheap.
linked list
nodes that each point to the next. cheap to splice in, slow to index.
stack + queue
a stack hands back the newest item, a queue the oldest. one ring buffer does both.
hash table
hash the key to a bucket number, so a lookup is one jump instead of a search.
math
12 pages
functions + graphs
what a function is, how its graph moves when you change it, and how to undo one.
exponents + logs
growth that multiplies, and the log that asks how many times.
trig
sine, cosine and tangent as a point going around the unit circle.
limits
what a function heads toward, even where it isn't defined.
tools
2 pages
graphics
5 pages
motion basics
css transitions, the web animations api, what's cheap to animate, reduced motion, and springs.
gsap
tweens, timelines, easing, stagger, scroll, svg, flip and split text, with a live demo of each.
cg fundamentals
vectors, matrices, cameras, rasterizing, ray tracing, light, shadows and color, drawn small.
three.js
a scene, a camera and a renderer, then meshes, lights, textures, models, picking and effects.
webgl + glsl
the pipeline from vertex to pixel, and fragment shaders from gradients to raymarching, with a playground.
games + 3d
3 pages · 1 soon
asset pipeline
from a blender model to a game: modeling, uvs, textures, rigs, export, and keeping it cheap to draw.
unreal
the editor, blueprints, materials, niagara, landscapes, lumen, a character with input, and packaging.
xr
openxr, hands, anchors, passthrough, moving without making people sick, and the headsets.
- game dev