Skip to content

DC video: Boston-style light beams over trains - #73

Merged
mapzimus merged 6 commits into
mainfrom
dc-video-beams
Nov 20, 2026
Merged

mapzimus merged 6 commits into
mainfrom
dc-video-beams

Conversation

@mapzimus

Copy link
Copy Markdown
Owner

Changes to three/dc.html and the DC config for the "24 hours in Washington" video:

  • Train beams: every train gets a vertical light beam in its line's colour, the same treatment as the Boston rush-hour page. Each beam is a line plus a stack of soft glows, bright at the base and fading upward. Its height scales with the camera's height.
  • Buses: dimmed (busA 0.5) so the trains lead the eye.
  • Plane altitude lines: turned back on, but only for planes below 4,000 ft (dropMaxFt). High overflights no longer streak across the city.

Every new setting is optional and defaults to off, so other cities' videos don't change.


Generated by Claude Code

Each train gets a line-colour beam (a line plus a stack of soft
glows fading upward), sized by camera height, as in the Boston
videos. Buses dimmed so trains lead. Plane altitude lines are back
but only below 4,000 ft, so high overflights do not streak the city.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UdDhZZNTPWj1vMRm5ANYKH
Clock only in the HUD (no date, counter or day bar), no chapter
titles, three anchor labels, legend for the first seven seconds,
credit only at the outro. Cards are larger, shorter and hold 5 s
inside slow segments over a soft dark scrim; slow segments shifted
so each card fits before the next fast-forward.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UdDhZZNTPWj1vMRm5ANYKH

Copy link
Copy Markdown
Owner Author

The verify failure here is the same date-based feed-freshness check that also fails on main: "Service ends before 2026-11-26 for: statue-liberty-ferry, pottstown-part". This PR only touches the DC video toolkit files, so it isn't the cause. Fixing it means refreshing those two GTFS feeds or adding exemptions for them, which is outside this PR's scope.


Generated by Claude Code

New dc/snap-rail.py splits each train into one track per route run
(trains switch Blue/Silver/Orange during the day), snaps every fix
onto its line, adds points along the line between fixes so motion
follows curves, and stores the line normal per point. dc.html shifts
each train by its line's ribbon offset along that normal, so trains
ride their own coloured ribbon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UdDhZZNTPWj1vMRm5ANYKH
snap-rail.py now stores metres along the line by default and dc.html
walks the line geometry itself (densified lon/lat rows tipped the full
day over the page heap). thin-transit.py keeps bus/regional fixes at
60 s spacing (rail untouched), cutting non-rail rows by a third.
three-render.cjs logs page crashes and console errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UdDhZZNTPWj1vMRm5ANYKH
- camSpline: time-aware cubic Hermite through camera keys (keeps speed
  through keys instead of easing to a stop at each one; cuts kept)
- planeHL: the followed plane is gold, larger, never fades near the
  camera, keeps a long trail, and a 0 ft airborne reading is not
  mistaken for a landing
- camera keys take an optional look-at height so chase shots aim at the
  plane, not the ground under it; altScale halves altitude exaggeration
- dc/build-dc-timeline.py: 120 s timeline with slow beats for the three
  verified go-arounds at DCA (7:07, 12:41, 4:30) and chase keys every
  second generated from each plane's recorded track

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UdDhZZNTPWj1vMRm5ANYKH
@mapzimus
mapzimus marked this pull request as ready for review November 20, 2026 13:38
@mapzimus
mapzimus merged commit 417888d into main Nov 20, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants