feat(hero): lifecycle, perf gating, camera drift, poster capture #31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patman/hero-lifecycle"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR 6/7 in the hero-toolpaths stack (prev: hero-renderer, next: hero-readme). mountHero wires sim to renderer: 30fps RAF time gate over a fixed-timestep sim (a fixed seed replays a run frame-for-frame — the poster workflow foundation), IntersectionObserver pauses off-screen, reduced-motion and GL-less browsers degrade to the poster without throwing, DPR capped at 2 with per-frame DPR-change detection, context loss fades back to the poster and recovers, slow exponential zoom-out (capped at 16 doublings for float32 headroom) with scale-invariant feed/field/ribbon, glacial hue drift from KGROO blue. Hot loop performs no allocations. Review focus: lifecycle edge cases — destroy before first IntersectionObserver callback, context loss/restore orderings, the zoom cap rationale.
40a89d8f3a706cef31a7706cef31a79e014b22f0View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.