Taos Engine

Preface

Sample Deep Dives

Brendan Duncan#

A companion to Taos Engine: Building a Modern WebGPU Game Engine.

What this book is about#

The repository's samples/ folder holds dozens of standalone demos. Most are short and speak for themselves; the larger ones get a long-form technical write-up here. Each deep dive walks through how one sample is put together — the engine features it leans on, the sample-specific code it adds, and the design decisions behind both.

The deep dives are independent of one another: read them in any order. They assume the core book as background and link back into it wherever a sample builds on an engine system.

To run a sample, start the dev server with npm run dev and open its HTML page, e.g. http://localhost:5173/samples/portal_arena.html.