diff --git a/README.md b/README.md index 899e50f..d9686e5 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,16 @@ positions and sizes, wander radius, calibration readouts. Marker print size stay color/rarity filters, optional time-of-day windows, crossfade in/out. - **Behaviors**: static float (bob + idle sway) or wander (deterministic orbit-drift — a pure function of server spawn record + wall clock, so every phone computes the - same motion with zero position streaming). + same motion with zero position streaming). Wander is 3D: horizontal radius plus a + configurable vertical amplitude (`wanderVertical`, cm). - **Anchors ("Newbury Crests")**: flat (horizontal) / wall (vertical) / custom mounts, fully editable — position, yaw/pitch/roll trim, printed size, enable toggle. -- **Layout editor** (`/admin/layout.html`): to-scale top-down canvas; drag anchors, - occlusion buildings, and spawn points; property panel; 5 mm snap; save/reset-to-seed. +- **3D layout editor** (`/admin/layout.html`): Three.js orbit view with drag gizmos + (5 mm snap, green arrow = height) for anchors, occlusion buildings, and spawn points — + spawn Y is fully editable so ghosts can live at any height. Anchors render through the + exact same `anchorWorldMatrix` the AR pipeline uses, each with a white orientation arrow; + compass rose on the grid (N = +Z = back of table). Top-view button, property panel, + save/reset-to-seed. - **Playlist manager** (`/admin/playlist.html`), **crest print sheet** (`/admin/print.html`, true-to-size), **calibration** (`/admin/calibrate.html`: live distance/angle/jitter + fused pose), **client error log** (`/admin/errors.html`). diff --git a/data/playlist.json b/data/playlist.json index 5c36ab8..b35fc94 100644 --- a/data/playlist.json +++ b/data/playlist.json @@ -11,7 +11,8 @@ "behaviors": { "staticChance": 0.5, "wanderRadius": 60, - "wanderSpeed": 0.15 + "wanderSpeed": 0.15, + "wanderVertical": 10 }, "timeWindows": [] } \ No newline at end of file diff --git a/public/admin/layout.html b/public/admin/layout.html index a003dae..f4cfee5 100644 --- a/public/admin/layout.html +++ b/public/admin/layout.html @@ -1,166 +1,202 @@
-