yceffort
05 POSTS

Animation 1

  • ◆ Improving number-flow Part 4
    #web-performance#animation#debugging

    How Far Will Agents Fix number-flow?

    I compared number-flow as fixed by five coding agents against my fork v0.2.1 once more. Performance reports changed with the font, the code went through a review with the authors hidden, and a follow-up experiment ended with keeping the mask default.

    Updated 31 min read
  • ◆ Improving number-flow Part 2
    #web-performance#animation#browser

    Improving number-flow Performance: Moving Animations onto the Compositor Thread

    In the number-flow fork I built to support old browsers, animations in modern browsers were still recalculating styles on every frame. In 0.2.0 I moved the motion built with additive compositing into transform and opacity keyframes, but costs remain in the mask and in interruptions.

    Updated 24 min read
  • #animation#web-performance#debugging

    Killing Frame Drops in a framer-motion Banner: Two Wrong Turns and One Easing Function

    A banner built with framer-motion made the entire home screen stutter for the 0.6 seconds it took to open. My guess at the cause from reading the code was overturned twice by measurement, and in the end a single easing function removed the reflow.

    30 min read
  • ◆ Improving number-flow Part 1
    #browser#animation#oss

    Porting number-flow to Old Browsers: Five Decisions and Two Reversals

    number-flow turns animations on starting from Chrome 125 and Safari 17.2. While building a fork that lowers this floor to Chrome 66 and WebKit 16.4, I reversed two decisions, and after investigating a Safari bug I gave up on automatic downgrading.

    Updated 26 min read
  • #animation#react#browser

    React's <ViewTransition>: Browser-Native Animation, Done the React Way

    What happens when React wraps the View Transition API

    16 min read