How spatial audio works in gamesIntroduction A while ago I started wondering how games make sound feel like it's coming from a real place. Like in Counter-Strike when you can hear someone walking through a room two corridors over, oApr 29, 2026·8 min read
Signed Distance Functions (SDFs) and why they are coolFirst, what problem are we even solving? Before we talk about SDFs, let's talk about how 3D graphics normally work. Take a round ball in any video game. Looks smooth, right? It's not. If you zoom in cApr 23, 2026·6 min read
How Computers Draw 3D WorldsStep 0. The Problem A 3D scene inside a computer is just math. Points in space. Lines between them. Colors. Materials. But your screen is flat. It is a grid of tiny squares called pixels. Each pixel cApr 19, 2026·7 min read
How online games actually workIntroduction A direct walkthrough of the four techniques that make multiplayer games feel responsive over the internet. Same material Gambetta covers, explained my way. The core problem The internet iApr 18, 2026·8 min read
What is WebGPU and Why It's Huge.So What Is A GPU In The First Place A GPU is a second processor with its own memory, called VRAM. Your data has to live in VRAM before the GPU can use it. Getting it there costs time. A CPU has a few Apr 17, 2026·8 min read
CPU Friendly JavaScript. A Visual Guide.How A CPU Actually Runs Code A CPU core has a clock. It ticks about 3 to 4 billion times per second. Each tick, the core tries to do one unit of work. That is where your frames come from. Inside one cApr 17, 2026·7 min read
Particle systems in games with threejs and tricks to make them look goodParticles Are Just Textured Quads Particle systems drive fire, smoke, sparks, rain, dust, magic. They look complex. They are not. A particle system is a flat image drawn over and over with small variaApr 17, 2026·8 min read