Redraw only what a moving view changes in bands and arcs
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
Relationship arcs were rebuilt as new SVG elements every frame, with both ends' names looked up for their tooltips; duration bands printed both endpoints for their tooltips every frame. Arcs now persist by relationship and only reshape, and bands and arcs refresh their text when the timeline's content changes. Times parsed from frames' strings, and groups' middles, are kept across frames, and Viewport.x divides by the span as a double when it fits one well. At 10,000 moments on a slow VM, bands went from 1.0 s to 0.27 s and arcs from 0.77 s to 0.2 s of a wheel-zoom profile (#68). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/515625178a66c78e6e1cb20e0dd7a4253800ed51
Related
Open Redraw only what a moving view changes in bands and arcs in the timeline