Ventura Bus 3d

repo: ~/Projects/ventura-bus-3d · 12 commits · 0 in last 24h, 0 in last 7d ·

Search the build

12 commits indexed

  1. c83ce9f 2026-05-20 add: pre-stage Meta Pixel snippet (placeholder; flip via _dw-batch set-fb-pixel.sh)
  2. 8f3bd9e 2026-05-10 fix(streetview): PlacesService got StreetViewPanorama (must be HTMLDivElement|Map)
  3. 923beeb 2026-05-10 fix: direction-aware nextStopFor — westbound bus 'Next stop' now points west
  4. e0acce7 2026-05-10 add /streetview.html: animated Street View drive down Ventura Blvd + Places nearby
  5. 9e03e9b 2026-05-10 task #5: traffic.js — fixed-timestep bus + ambient car sim with collision avoidance
  6. 6a8f84b 2026-05-10 add /models-preview.html: orbit-camera grid of all 8 sourced GLBs
  7. bcac288 2026-05-10 add 8 CC-BY vehicle GLBs (3 buses + 5 cars) + ATTRIBUTION.md
  8. b2ea9d2 2026-05-10 integrate multi-route data + new top header (search/brand/theme) + per-route toggle legend
  9. b343de6 2026-05-10 task #3: base Three.js scene — curved corridor, mountains, day/night
  10. 4f29a8f 2026-05-10 switch port to 9783, add ecosystem.config.js, bake in dark/light toggle (sun/moon header button, anti-flash inline script, CSS-var inversion, localStorage persist)
  11. 5505ad6 2026-05-10 add route legend (top-right) and time-of-day overlay (bottom-right) — slider drives sun arc / sky / fog / hemi lights with named anchors (deep-night → dawn → midday → golden hour → dusk); legend syncs current stop in real time
  12. 3543dfe 2026-05-10 initial scaffold

Authors

Agents used

  • none detected

Skills used

  • /route2
  • /night2
  • /streetview1
  • /models-preview1
  • /brand1
  • /theme1
  • /off1
  • /tile1
  • /highlight1
  • /colour1
  • /rayleigh1
  • /ventura-bus-routes1
  • /noon1
  • /dusk1
  • /light1
  • /moon1

Creative ideas + design notes

Commits with substantial prose (≥120 chars) — the rationale behind each move.

8f3bd9e · 2026-05-10 · fix(streetview): PlacesService got StreetViewPanorama (must be HTMLDivElement|Map)
The PlacesService constructor threw InvalidValueError on init, killing the
rest of the async IIFE — toolbar buttons, route chips, position_changed
listener, and auto-drive timer never wired up. Page rendered the panorama
but nothing else worked.

Fix: add hidden #places-attr div, pass that to PlacesService.
Also: surface init errors into the overlay so future failures are visible
instead of silently disappearing.
b2ea9d2 · 2026-05-10 · integrate multi-route data + new top header (search/brand/theme) + per-route toggle legend
- /api/route returns ROUTES array (metro-150, metro-750) with stops + lane offsets
- index.html: fixed top header with search input, brand, theme button; route legend now per-route with swatches and on/off toggles; added muted/tile/highlight CSS vars; page padding offset to --header-h

Captured by yolo-loop tick 5 — files were idle 3h22m with server serving 200, work was complete but uncommitted.
b343de6 · 2026-05-10 · task #3: base Three.js scene — curved corridor, mountains, day/night
scene.js now builds a CatmullRomCurve3-driven road ribbon (~12 mi stub bezier
through Woodland Hills → Tarzana → Encino → Sherman Oaks → Studio City) with
canvas asphalt + dashed lane stripes; flanking concrete sidewalks share the
same curve. Adds three layered low-poly Hollywood Hills ridges on the north
side, a textured ground plane, atmospheric Sky dome, hemisphere + ambient +
shadow-casting directional lights, and OrbitControls defaulted to (0, 100,
173) — exactly 100 m up at 30° pitch — looking at the road centreline.

setTimeOfDay(minutes) lerps between 10 anchors (deep-night → dawn → midday →
golden hour → dusk) and drives sun position, dirLight intensity/colour,
hemisphere tint, ambient, sky turbidity/rayleigh, and tone-mapping exposure.
setRouteWaypoints(points) swaps the stub bezier for the real corridor when
/tmp/ventura-bus-routes.json lands.

scene-demo.html upgraded with TOD slider + dawn/noon/dusk/night presets,
auto-cycle toggle, /api/route loader, and live FPS readout. Headless smoke
test confirms 8 draw calls, ~5k triangles, OrbitControls attached at the
spec'd camera pose, and TOD anchor interpolation (night 0.08 → noon 1.65 →
dusk 0.95 dirLight intensity).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

File tree

22 files tracked. Click any to browse the source at HEAD.

Other build journals

← Vendor Recrawl Dispatcher  ·  all 4 projects  ·  Ventura Claw →

Export

commits.csv · feed.atom · project.json · commits.json

rendered in 0ms