# preview_fixed.html — NOT the model's output
`index.html` is step-5-ga-alpha-cp-1127's output, extracted verbatim from `response.md` (one shot, 0 continues).
It does not render in Chromium: two WGSL compile errors kill every render pipeline and a JS ReferenceError
(`g is not defined`) throws every frame, so the canvas stays black (UI panels do show).
`preview_fixed.html` is generated by `make_preview.py` from index.html with exactly these edits (labelled preview, by Grok Bot):
1. WGSL typo: `@location(5) m3: vec4` -> `vec4`.
2. WGSL syntax: `let N=...,Vv=...,L=...;` (comma-separated lets are invalid WGSL) split into three `let` statements.
3. Draw bug: instance packing dropped the geometry type and `drawInstances` looped over setVertexBuffer then
called `geos[g]` outside the loop (`g` undefined). Fix: sort each layer list by geometry type before packing,
and draw one call per contiguous (type) range. ~2 lines changed.
4. JS: `lastBeep` is assigned/read but never declared; in module (strict) code the first countdown throws
ReferenceError every frame and freezes the scene. Fix: added `let lastBeep=-99;`.
No other changes: scene, animation, timeline, UI and shaders otherwise untouched.