Repository navigation
Conversation
The camera wrote --z onto #world each frame so the pile headings could scale with zoom. A custom property inherits, so every frame restyled the entire desk: 20 long tasks of ~80 ms during the intro and 880 ms of total blocking time on desktop. The few headings are now scaled directly, and only when the value changes. Desktop Lighthouse (devtools throttling) goes from 72 to 100, TBT to 0.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
Clean against the five areas. The label scale moves from the inherited |
Final production Lighthouse after #7 showed desktop (devtools throttling) at 72: TBT 800–900 ms from 20 long tasks of ~80 ms, all inside the intro animation.
Cause. The camera wrote
--zonto#worldon every frame so the pile headings could scale with zoom. A custom property inherits, so each frame restyled the entire desk subtree.Fix. The few headings now get
scaledirectly, and only when it changes.Local, devtools throttling, desktop:
Every zoom frame gets cheaper too, not just the intro. The overview looks the same (headings scale to 2.2 at 17% zoom). e2e: 43 passed.