# Tasks Work in this order. Finish a task's check before starting the next. 1. **Set up.** A Vite project in TypeScript with three.js and Playwright. Read `spekkr.inputs.json` into one settings module. Add the seeded generator. Check: `npm run build` writes a folder with only `.html`, `.js` and `.css` files (R1). 2. **The town (R2).** Ground zones, sea, beach, promenade, pier, houses, square, fairground, stalls, bunting, trees, lamps and benches, and the walkable map, from the fixed seed, drawn as in "Drawing the town cheaply". Check: a screenshot at `D = 380` shows every zone, and the scene's draw calls are within R10's limit before any people are added. 3. **The camera (R5).** Pan, zoom toward the pointer, pinch, keys, clamping. Check: a Playwright test drags, wheels and pinches (with an emulated touch screen) and the view moves as R5 says. 4. **The crowd (R3).** The parts, the per-person data, the motion in GLSL and in TypeScript. Use `crowd_size`. Check: the hook reports at least 10,000 people and 12 or fewer crowd draw calls; a unit test checks that the TypeScript motion matches the shader's formulas at several times for every kind. 5. **Santa (R4).** The look, the decoys, the spot rules, `?seed=`. Check: `looks()` finds Santa's full look once, his scale is in the adult range, ten loads give at least eight spots, and one seed gives one spot. 6. **Picking (R6).** The ray against cylinders, the fallback, the miss mark, the penalty. Check: clicking `screenOf(targetIndex)` wins; clicking another person's `screenOf` shows the miss mark and adds `miss_penalty`; clicking the sea does nothing. 7. **Intro, timer, win, best time and share (R7, R8).** The portrait is drawn live with the same parts, from the front, with no image file. Check: the R7 and R8 acceptance tests pass. 8. **Speed (R10).** Pixel ratio cap and step-down, shadows option, draw counts. Check: the hook's draw counts are within the limits; record `fps` on a real machine in the README. 9. **Finish.** README, the whole Playwright suite against `npm run build` and `npm run preview`. Check: every item under "Definition of done" in `spec.md` is true.