I’m Teo. I build things, mostly ones that run in a browser tab, and write them up here with figures that run the real code. More at teozeng.dev, code on GitHub, and long-form math and science films on YouTube.
What’s here
Most posts follow one project. The figures in them run that project’s own code, so when you change an input you see what the real thing does, not a sketch of it.
- Game engines in a browser tab. KataGo, Stockfish, and Pikafish: Go, chess, and xiangqi engines running in a web page with no server.
- Games rebuilt for the browser. San Andreas streamed into a tab, and a village raider whose battles replay from a 10 KB log.
- How Minecraft works. Part 1 rebuilds a playable world one system at a time; Part 2 lets a second player in.
- Tools at scale. A finance workspace with a trading desk of agents, twenty-two hours of math films rendered from code, and an atlas of 6,684 ideas.
- Reading my own data. What Duolingo, OpenAI, Google, and McDonald’s kept about me.
- Lean proof walkthroughs. Walking through the Lean proof of the Riemann Hypothesis, Walking through the Lean proof of Navier–Stokes blow-up, and Why matrix multiplication stops at nine fourths, turning large formal proofs into interactive diagrams.
- Everything else. The case for LeBron James, and two posts on airline pricing: a demand forecast and a pricing analysis product.
How the posts are made
The figures are written by hand in plain JavaScript, SVG, canvas, and WebGL, with no chart library, and the data behind them lives in this site’s repository. Posts built on data end with a note on sources and methods, with the files to check the numbers yourself.