I'll start by exploring the project setup and gathering the media I need.
Tailwind v4 with a single-file build. Now let me install dependencies and gather stock imagery in parallel.
Dependencies installed. Now I'll set up the HTML shell and grab two more dataset frames.
Now the design system — a warm paper/ink light theme with variable-width type, grain, and drafting-table textures.
Now the data model, YOLO math, and the annotation state machine with undo/redo history.
Now the centerpiece: the annotation stage with rulers, crosshair, loupe, and full pointer-driven box editing.
Now the chrome: header, taxonomy rail, filmstrip, and status bar.
Now the inspector panel with live YOLO coordinates and the export drawer.
Now the cinematic intro curtain and the main App composition with global keyboard control.
Let me verify the utility helpers and entry point, then build.
The build passes. Now a refinement pass on the stage — loupe clamping, ruler value chips, hover accuracy, and a commit flash.
The tool works. Now I'll add a showstopper "contact sheet" overview — a full-screen dataset poster with vector overlays.
Now wiring the contact sheet into the app shell and keyboard layer.
Let me review the pointer logic and add a force-draw modifier for nested objects.
One robustness fix: the history stack currently mutates refs inside state updaters. Let me refactor it to be side-effect free.
ORTHOLAB — a fully functional YOLO annotation surface, built as a drafting-table art object rather than a conventional dashboard.
The experience
- Intro curtain — "ORTHOLAB" animates in on the variable width axis (Archivo
wdth 62 → 125) while plates preload, then nine blueprint columns wipe upward in staggered sequence.
- Light theme — warm bone paper (
#EEECE5), true ink, hairline rules, SVG film grain, blueprint grid, and hatch textures. Vermilion is the only signal color; the six class hues carry all other meaning.
- Typography — condensed Archivo poster numerals for frame IDs and object counts, wide-axis display for
EXPORT / CONTACT SHEET, JetBrains Mono for every coordinate, Instrument Serif italic for quiet editorial asides.
The tool (genuinely works)
- Draw / move / resize boxes with 8 handles, pointer-captured drag, corner registration ticks, and a spring "ink flash" on commit.
⇧ drag forces a new box over an existing one.
- Drafting HUD — dual rulers with live normalized readout chips, dashed crosshair, corner registration marks, and a 3× loupe for pixel-accurate edges.
- Navigation —
⌘/ctrl + wheel zooms to the cursor, wheel pans, space-drag pans, pixelated rendering past 220%.
- YOLO fidelity — everything is stored as normalized
class cx cy w h; the inspector streams live 4-decimal coordinates, and the export drawer emits a real .txt per frame plus a valid Ultralytics data.yaml, both copyable and downloadable.
- Contact sheet (
G) — full-screen dataset takeover rendering every frame with its vector annotations, class-balance ticks, and spring-staggered cards.
- Full keyboard layer —
1–6 classes (also re-assigns the selection), ⌫, ⌘Z / ⌘⇧Z undo-redo, ←/→ frames, L, G, E, F.
All icons are Lucide; no emoji anywhere. The build passes cleanly.
Files built: index.html, src/index.css, src/lib/dataset.ts, src/hooks/useAnnotator.ts, src/components/Stage.tsx, src/components/Chrome.tsx, src/components/Inspector.tsx, src/components/Intro.tsx, src/App.tsx, src/components/ContactSheet.tsx