Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
c784084
spec(AST-094): touch presentations feel native by default
cixzhang Oct 24, 2026
0c35c43
chore(core): the UIKit constants table for touch presentations
vjeux Oct 24, 2026
17c181b
chore(core): UIKit's spring, decay, rubber-band and projection math
vjeux Oct 24, 2026
0901218
chore(core): a compositor animator for touch presentations
vjeux Oct 24, 2026
6bd2851
chore(core): the constants table names only what exists, and dates ev…
vjeux Oct 24, 2026
76be493
fix(core): paging past the last page lands on a real page
vjeux Oct 24, 2026
51aa3c8
fix(core): under Reduce Motion, a move keeps a running fade's target
vjeux Oct 24, 2026
8694825
chore(core): the animator plays any curve, drives a pseudo-element, s…
vjeux Oct 24, 2026
7da6b3c
fix(core): an identity at rest leaves the element
vjeux Oct 24, 2026
7e7e731
fix(core): the animator's model holds a curve's start until the brows…
vjeux Oct 24, 2026
040f7cd
fix(core): the animator's Reduce Motion follows design:reduced-motion
vjeux Oct 25, 2026
4b3de64
Merge main into the constants table (lab typechecks with its tests)
vjeux Oct 25, 2026
530315f
Merge #8053 (main merged in) into the motion math
vjeux Oct 25, 2026
63aef34
Merge #8054 (main merged in) into the animator
vjeux Oct 25, 2026
4f936fc
Merge #8055 (main merged in) into the animator curves
vjeux Oct 25, 2026
f034902
fix(core): Reduced Motion takes no override
cixzhang Oct 25, 2026
e7df427
perf(core): the gesture table's sources move to JSDoc, out of the bundle
vjeux Oct 25, 2026
439dcc3
docs(spec): the draft AST-094 copy leaves this stack
vjeux Oct 25, 2026
0bf13da
Merge main (the deploy typecheck gate test reads the step as written)…
vjeux Oct 25, 2026
fb5b3ae
perf(core): the coast math and the scroll table leave the animator
vjeux Oct 25, 2026
bbbcb60
refactor(core): the platform presets are named for their use
vjeux Oct 25, 2026
68be5aa
Merge main into the stack (AST-094 is current on main)
cixzhang Oct 25, 2026
7c5f71c
Merge main (67dc45f66d3) into #8054
cixzhang Oct 25, 2026
03f66c3
fix(core): the UIKit table keeps only what a touch presentation plays…
cixzhang Oct 25, 2026
1133bf9
Merge remote-tracking branch 'origin/main' into m8053
cixzhang Oct 25, 2026
eded944
style(core): MEASUREMENTS.md table widths after the dropped rows
cixzhang Oct 25, 2026
f9d0900
feat(core): the press release's curve is a press value
vjeux Oct 25, 2026
bbae49a
Merge main (cdd75aec) into the compositor animator
cixzhang Oct 25, 2026
ce0f0d5
fix(core): a same-task write keeps a call from rest on one clock
cixzhang Oct 25, 2026
9db9315
docs(core): the velocity weight says a rested finger releases at 0
vjeux Oct 25, 2026
946a6d0
fix(motion): the animator follows design:reduced-motion DR2-DR4
cixzhang Oct 25, 2026
5d3cab6
Merge #8053 (the table keeps only what a touch presentation plays; th…
vjeux Oct 25, 2026
daed39c
Merge #8054 (#8053's table, the press release's curve) into the animator
vjeux Oct 25, 2026
9f13914
Merge #8055 (the animator follows DR2-DR4; #8054's table and math) in…
vjeux Oct 25, 2026
edb1260
fix(core): a change at once ends a running fade at its target
vjeux Oct 25, 2026
e58eb58
docs(core): a touch release's fade is DR2, not DR3
vjeux Oct 25, 2026
7e36bcd
fix(core): the table's notes point at what exists, and the press entr…
cixzhang Oct 25, 2026
c1fa660
Merge #8053's notes and press pins into the press release's curve and…
vjeux Oct 25, 2026
59a748f
Merge #8053 (the table's notes point at what exists; the press entrie…
vjeux Oct 25, 2026
129eebf
Merge #8054 (#8053's notes and press pins) into the animator
vjeux Oct 25, 2026
e309847
Merge #8055 (#8053's notes and press pins) into the Reduce Motion policy
vjeux Oct 25, 2026
8dbc144
Merge #8054 (main with #8043's interaction proofs) into the animator
vjeux Oct 25, 2026
6ae3390
Merge main (#8043's interaction proofs) into the UIKit constants table
vjeux Oct 25, 2026
51b3ecb
Merge #8053 (main with #8043's interaction proofs) into the motion math
vjeux Oct 25, 2026
48ddb9a
Merge #8055 (main with #8043's interaction proofs) into the Reduce Mo…
vjeux Oct 25, 2026
61f575f
perf(core): the animator reads the Reduce Motion fade, not the whole …
vjeux Oct 25, 2026
0a43629
Merge #8055 (the animator reads the Reduce Motion fade alone) into th…
vjeux Oct 25, 2026
f3f3cf3
test(core): reducedMotionFade() ships the Reduce Motion fade alone too
vjeux Oct 25, 2026
1f751c9
docs(core): M-S2 feeds scroll.decelerationRate, where the coast readi…
cixzhang Oct 25, 2026
96f8240
Merge #8053 (M-S2 feeds scroll.decelerationRate) into the press relea…
vjeux Oct 25, 2026
1ae9200
Merge #8053 (M-S2 feeds scroll.decelerationRate) into the motion math
vjeux Oct 25, 2026
eeb4b16
Merge #8055 (M-S2 feeds scroll.decelerationRate) into the Reduce Moti…
vjeux Oct 25, 2026
615cf0a
Merge #8054 (M-S2 feeds scroll.decelerationRate) into the animator
vjeux Oct 25, 2026
860e37b
fix(core): every same-task call from rest shares the browser's start
cixzhang Oct 25, 2026
ef7e8b5
Merge main (design:reduced-motion DR2 momentum, #8384)
cixzhang Oct 25, 2026
611248c
Merge #8056's same-task start fix and main (design:reduced-motion DEC…
vjeux Oct 25, 2026
16b597f
fix(motion): no call skips the touch cross-fade, and a mouse move lea…
cixzhang Oct 25, 2026
96bc965
Merge #8055's fix (no call skips the touch cross-fade; a mouse move l…
vjeux Oct 25, 2026
aacd04f
Merge #8055 (no call skips the touch cross-fade; a mouse move leaves …
vjeux Oct 25, 2026
8070156
fix(core): a fine pointer's change leaves a running fade to finish
vjeux Oct 25, 2026
a850429
fix(core): decay moves only the translate axes; the Reduce Motion not…
cixzhang Oct 26, 2026
7234d44
Merge main (99ad3f6d906) into the motion math
cixzhang Oct 26, 2026
b232014
fix(motion): a touch dip borrows the element's own opacity and hands …
cixzhang Oct 26, 2026
2071394
Merge #8054 (7234d440: main with the landed constants table) into the…
cixzhang Oct 26, 2026
e1c094c
Merge #8055 (main with the landed tables; the touch dip borrows the s…
cixzhang Oct 26, 2026
d463e85
fix(motion): an interrupted Reduce Motion fade finishes, a borrowed o…
cixzhang Oct 26, 2026
6ee5dd0
fix(core): overlapping dips keep the borrowed opacity; a replaced nod…
cixzhang Oct 26, 2026
9036a29
docs(motion): M-RM1 names the played 200 ms Reduce Motion cross-fade
cixzhang Oct 26, 2026
f77d406
fix(core): a call on an explicit clock never waits on a call finished…
vjeux Oct 26, 2026
50306cd
fix(core): a Reduce Motion dip ends on time when a busy main thread l…
vjeux Oct 26, 2026
d3a2e41
fix(core): toSpring's clamp, FR6 for the rubber band's inverse, the p…
cixzhang Oct 26, 2026
4c6f769
fix(motion): under Reduce Motion, travel lands only while the element…
cixzhang Oct 26, 2026
39e4a20
perf(core): a commit that leaves channels at identity reads the style…
vjeux Oct 26, 2026
9dade14
fix(core): an animation finished from outside ends its curve in the m…
vjeux Oct 26, 2026
e859b2b
fix(core): a call on a later explicit clock never joins an earlier ca…
vjeux Oct 26, 2026
fb9c3dc
perf(core): the keyboard notifications' duration has its own export
vjeux Oct 26, 2026
07e1428
Merge #8054 (toSpring's clamp, FR6 for the rubber band's inverse, the…
vjeux Oct 26, 2026
3dca43f
Merge main (16770e30070) into the motion math
cixzhang Oct 26, 2026
7221fca
Merge #8054 (3dca43f6: main with the per-group UIKit table) into the …
cixzhang Oct 26, 2026
ba87b89
test(motion): the UIKit table test reads values bound from an exporte…
cixzhang Oct 26, 2026
7d20b1f
fix(core): unmounting settles a pending atRest() wait
cixzhang Oct 26, 2026
14af992
Merge #8055 (main with the per-group UIKit table; its Reduce Motion s…
cixzhang Oct 26, 2026
2f67199
Merge main (b58ca635, the motion math landed) into the animator
cixzhang Oct 26, 2026
0ceb667
Merge main (b58ca635: the landed motion math and gesture recognizer c…
vjeux Oct 26, 2026
9a7b285
Merge main (#8058 landed) into the motion clock and Reduce Motion plan
cixzhang Oct 26, 2026
60f1733
Merge main (#8054 landed) into the motion clock and Reduce Motion plan
cixzhang Oct 26, 2026
73d10a6
fix(motion): an overlapping call's fade re-times an earlier call's pe…
cixzhang Oct 26, 2026
db11472
Merge vjeux's #8055 head (0ceb6675, main) into the overlap fix
cixzhang Oct 26, 2026
9824ce0
Revert "perf(core): the keyboard notifications' duration has its own …
vjeux Oct 26, 2026
781245e
fix(core): Reduce Motion's catch, overlap and role fades keep the sur…
cixzhang Oct 26, 2026
47a6c65
fix(motion): a call that does not own opacity keeps a running borrowe…
cixzhang Oct 26, 2026
82ceea1
fix(motion): a borrowed dip that ended while detached hands the opaci…
cixzhang Oct 26, 2026
98f86a6
Merge #8055 (47a6c657: main through #8054; the keyboard-notification …
cixzhang Oct 26, 2026
4508a8f
fix(core): Reduce Motion's teardown paths settle and hand back what t…
cixzhang Oct 26, 2026
d19f6f3
Merge #8055 (82ceea13: a borrowed dip that ended while detached is ha…
cixzhang Oct 26, 2026
3ee43e2
fix(core): a detach during a borrowed dip leaves no opacity inline
cixzhang Oct 26, 2026
df1fba5
fix(motion): an unmount, a new element or dispose() hands a borrowed …
cixzhang Oct 26, 2026
a38d13c
Merge #8055 (df1fba58: a borrow is handed back to its own element on …
cixzhang Oct 26, 2026
a5725fa
fix(core): a Reduce Motion move waiting to land lands on its own elem…
cixzhang Oct 26, 2026
bbec914
fix(motion): a new element taking over mid-dip keeps the dip, so the …
cixzhang Oct 26, 2026
6daf622
Merge #8055 (bbec9143: a new element taking over mid-dip keeps the dip)
cixzhang Oct 26, 2026
1b0840d
fix(core): attach leaves nothing behind on the element it leaves
cixzhang Oct 26, 2026
5e41033
fix(motion): a running dip survives every attach, and an opacity the …
cixzhang Oct 26, 2026
7ee6305
Merge #8055 (5e410334: a running borrowed dip survives any attach; an…
cixzhang Oct 26, 2026
225e202
Merge main (#8494: the scroll-to-top Reduce Motion note; #8488: AST-0…
cixzhang Oct 26, 2026
d019124
Merge main (3ab7f32d: #8494's scroll-to-top note, #8488) into the ani…
cixzhang Oct 26, 2026
f05cb57
fix(core): an unmount lands a waiting Reduce Motion move where it was…
cixzhang Oct 26, 2026
ab02b27
fix(core): a pseudo-element's Reduce Motion dip borrows and hands bac…
cixzhang Oct 26, 2026
4874db4
docs(motion): the scroll-to-top note keeps main's wording: a tap-star…
cixzhang Oct 26, 2026
3d201a0
Merge main (#8257: the touch motion roles are internal) into the moti…
cixzhang Oct 26, 2026
1e1b7bd
fix(motion): a hidden element lends no borrow, and a stop that finish…
cixzhang Oct 26, 2026
89614c7
Merge main (2af4d305: #8257, the motion roles internal) into the anim…
cixzhang Oct 26, 2026
5d9e4ec
Merge #8055 (89614c7f: a hidden element lends no borrow; a stop that …
cixzhang Oct 26, 2026
15c71e1
fix(motion): a release past an edge springs back as a Reduce Motion c…
cixzhang Oct 26, 2026
3c0d8a0
Merge #8055 (15c71e1f: under Reduce Motion a coast's spring back is a…
cixzhang Oct 26, 2026
1e5d0f4
refactor(core): the plan's stop needs no step-segment landing; the st…
cixzhang Oct 26, 2026
effe685
docs(motion): decay's docs and the changeset say a transition curve c…
cixzhang Oct 26, 2026
7ad0455
fix(motion): a held identity follows a node replacement, a mixed rele…
cixzhang Oct 26, 2026
f60e87d
Merge #8055 (7ad0455a: held identities follow a node replacement; one…
cixzhang Oct 26, 2026
8fc7f2e
docs(motion): the animator's SYNC list and test header name only file…
cixzhang Oct 26, 2026
79dc151
Merge #8055 (8fc7f2ef: coast says a transition lands at once on a fin…
cixzhang Oct 26, 2026
1fe597d
refactor(core): the animator's Reduce Motion planner is its own module
cixzhang Oct 26, 2026
b33685a
refactor(core): play(curves) and pseudo-element support move to stack…
cixzhang Oct 26, 2026
84ea877
Merge main (30a4a2b3: #8055 landed) into the animator's Reduce Motion…
cixzhang Oct 26, 2026
b84bcfc
refactor(core): drop the animator's unused TRAVEL alias
cixzhang Oct 26, 2026
7847980
test(core): the animator's tests drop an unused import and binding
cixzhang Oct 26, 2026
b814769
fix(core): under Reduce Motion a move lands only while the element is…
cixzhang Oct 26, 2026
274ee1b
fix(core): a handle's stop freezes its waiting Reduce Motion travel w…
cixzhang Oct 26, 2026
7f36229
fix(core): a carried Reduce Motion move keeps its own call
cixzhang Oct 26, 2026
1a40c3a
fix(core): a held call still finds its start; a caught dismissal fade…
cixzhang Oct 26, 2026
215f031
fix(core): a waiting Reduce Motion call whose own opacity a later cal…
cixzhang Oct 26, 2026
c1c46dc
fix(core): a held call keeps reading until it has a start
cixzhang Oct 26, 2026
92d6477
fix(core): decay takes touchRelease; a take-back fades straight back;…
cixzhang Oct 26, 2026
45a454b
docs(core): the animator header and changeset name the touch-release …
cixzhang Oct 26, 2026
2b264d3
test(core): uikit.test.ts matches bindings in the file text again
cixzhang Oct 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/uikit-motion-animator-reduced-motion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@astryxdesign/core': patch
---

[chore] Internal: the touch presentations' animator follows design:reduced-motion (under Reduce Motion, an opacity-only cross-fade of 200 ms on a coarse pointer or after a touch release and an immediate change on any other pointer, with no option or theme value that keeps travel or lengthens the fade; an entrance or exit role orients a slide that changes no opacity), decided by its own planner module, and starts a call from rest when the browser commits it, as Core Animation does. Not exported from the package entry point.

@vjeux
2 changes: 1 addition & 1 deletion .changeset/uikit-motion-animator.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
'@astryxdesign/core': patch
---

[chore] Internal: a compositor animator for touch presentations. It plays UIKit's springs, and scroll coasts (built by a separate coast module, so a surface that never coasts does not carry them; `decay` plays a release's momentum, and under Reduce Motion cross-fades a spring back from past an edge) as Web Animations on translate, rotate, scale and opacity, so they keep running while JavaScript is busy, and reads values and velocities back from the curves for interruption, retargeting and Reduce Motion cross-fades. Not exported from the package entry point; no component uses it yet.
[chore] Internal: a compositor animator for touch presentations. It plays UIKit's springs, and scroll coasts (built by a separate coast module, so a surface that never coasts does not carry them; `decay` plays momentum, and sends a spring back from past an edge through the Reduce Motion policy: a cross-fade on a coarse pointer or after a touch release, at once elsewhere) as Web Animations on translate, rotate, scale and opacity, so they keep running while JavaScript is busy, and reads values and velocities back from the curves for interruption, retargeting and Reduce Motion cross-fades. Not exported from the package entry point; no component uses it yet.

@vjeux
42 changes: 21 additions & 21 deletions packages/core/src/motion/MEASUREMENTS.md

Large diffs are not rendered by default.

85 changes: 57 additions & 28 deletions packages/core/src/motion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,23 @@ so each keeps its measured value; no shipped component reads the roles yet.

## Files

| File | What it is |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `uikit/` | THE constants table: every spring, duration, deceleration rate, rubber-band constant and curve, with its source. |
| `uikit/springs.ts` | Interaction springs (navigation, sheets, alerts, menus, controls, keyboard, banners) and the SwiftUI / UIKit presets. |
| `uikit/scroll.ts` | UIScrollView: deceleration rates, rubber band, bounce-back spring, paging, `delaysContentTouches`, scroll to top. |
| `uikit/timing.ts` | Non-spring clocks and curves: press highlight, Core Animation's named curves, keyboard, Reduced Motion cross-fade. |
| `uikit/navigation.ts` | UINavigationController: push velocity, parallax, dimming, transition clock, interactive pop finish rule. |
| `uikit/gestures.ts` | Gesture recognizer thresholds, the velocity filter and haptic stand-ins, as `{value, unit}` entries (sources in JSDoc). |
| `MEASUREMENTS.md` | The UIKit reference captures each unconfirmed value still needs. |
| `spring.ts` | Closed-form damped spring, every Apple parameterization, settling duration, a spring chasing a moving target. |
| `decay.ts` | UIScrollView's momentum coast. |
| `coast.ts` | A release's momentum curves for `animator.decay`: the coast, the edge spring, a release past an edge. |
| `rubberBand.ts` | UIScrollView's resistance past an edge, and its inverse. |
| `projection.ts` | Release targets: the rest point nearest the projected coast; paging. |
| `bezier.ts` | Cubic-bézier timing functions (Core Animation's named curves). |
| `animator.ts` | Compositor animator: springs and momentum curves compiled to Web Animations, read back analytically. |
| File | What it is |
| ---------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| `uikit/` | THE constants table: every spring, duration, deceleration rate, rubber-band constant and curve, with its source. |
| `uikit/springs.ts` | Interaction springs (navigation, sheets, alerts, menus, controls, keyboard, banners) and the SwiftUI / UIKit presets. |
| `uikit/scroll.ts` | UIScrollView: deceleration rates, rubber band, bounce-back spring, paging, `delaysContentTouches`, scroll to top. |
| `uikit/timing.ts` | Non-spring clocks and curves: press highlight, Core Animation's named curves, keyboard, Reduced Motion cross-fade. |
| `uikit/navigation.ts` | UINavigationController: push velocity, parallax, dimming, transition clock, interactive pop finish rule. |
| `uikit/gestures.ts` | Gesture recognizer thresholds, the velocity filter and haptic stand-ins, as `{value, unit}` entries (sources in JSDoc). |
| `MEASUREMENTS.md` | The UIKit reference captures each unconfirmed value still needs. |
| `spring.ts` | Closed-form damped spring, every Apple parameterization, settling duration, a spring chasing a moving target. |
| `decay.ts` | UIScrollView's momentum coast. |
| `coast.ts` | A release's momentum curves for `animator.decay`: the coast, the edge spring, a release past an edge. |
| `rubberBand.ts` | UIScrollView's resistance past an edge, and its inverse. |
| `projection.ts` | Release targets: the rest point nearest the projected coast; paging. |
| `bezier.ts` | Cubic-bézier timing functions (Core Animation's named curves). |
| `animator.ts` | Compositor animator: springs and coasts compiled to Web Animations, read back analytically. |
| `reducedMotionPlan.ts` | The animator's Reduce Motion planner: what one call becomes, a cross-fade whose travel lands while transparent or at once. |

Component-specific values (a sheet's detents, a switch's geometry, a context
menu's timeline) live in a domain file per component, `uikit/<component>.ts`,
Expand All @@ -36,6 +37,7 @@ under the same rules.

```
import {createAnimator} from '../motion/animator';
import {coast} from '../motion/coast';
import {springs} from '../motion/uikit';

const animator = createAnimator(sheet);
Expand All @@ -61,25 +63,52 @@ await handle.finished; // true if it ran to the end, false if interrupted
`opacity`, through the individual CSS properties `translate`, `rotate`,
`scale` and `opacity`. The element's `transform` stays the component's.
- `get` / `getVelocity` evaluate the curves; the DOM is never read.
- Promotion: every animation the animator creates, and every `set`, gives its
channels a compositing layer in the same task (inline `will-change`, merged
with the element's own), cleared 500 ms after the last motion. Mobile Safari
needs it to run a curve through a blocked main thread.
- `atRest(properties)` resolves once none of them is moving, after the last
curve ends, whoever started it.
- `rebase({y: -shift})` moves properties at once, as a layout shift does; a
property moving on a spring keeps its spring, velocity and target.
- `animate` always starts from the presentation value with the presentation
velocity unless a velocity is handed in, so retargeting is continuous
(`handle.retarget(to)` keeps the call's spring).
- Everything one call starts shares one start time; `{at}` puts several
animators on one clock.
- Reduced Motion (`prefers-reduced-motion: reduce`, `design:reduced-motion`
DR2–DR4): on a coarse primary pointer every `animate` cross-fades within
200 ms. An entrance lands and fades in, an exit fades out then moves, any
other move dips (fade out, move, fade in), and an opacity change fades, over
`timing.reducedMotionCrossFadeMs` capped at 200 ms. On any other pointer every
change completes at once. No call keeps travel or a spring or skips the
touch cross-fade. A `decay` keeps moving: momentum after a throw is
direct movement.
- A call from rest gets no start time, so the browser starts it when it
commits it, as Core Animation does: in Chromium a block before that frame
delays the motion instead of skipping into it (WebKit starts it at the
frame before the block). Everything the call starts shares that start
(`handle.started`); a retarget keeps an explicit one, and `{at}` puts
several animators on one clock.
- Reduced Motion (`prefers-reduced-motion: reduce`, design:reduced-motion):
every `animate` is replaced and nothing moves, scales or
springs. On a coarse primary pointer, or for a call started by a touch
drag's release (`{touchRelease: true}`), it is an opacity-only cross-fade
of `timing.reducedMotionCrossFadeMs` (200 ms): an entrance from 0 lands and
fades in, an exit to 0 fades out then lands, an opacity change fades, any
other move dips (fade out, land, fade in). Travel lands with a plain style write while
the element is transparent, never as an animated transform. On any other
pointer it completes at once.
`{crossfadeAs: 'entrance'}` or `'exit'` gives a slide that changes no
opacity its direction. No option or theme value lengthens the fade or keeps
travel. For motion the animator does not drive, `reducedMotionFade()`
answers the same policy, and `reducedMotion.stylex.ts` holds its CSS
constants and the two media queries a StyleX transition spells.
A decay's momentum keeps its motion under Reduce Motion: momentum that
continues a throw is direct movement (DR2, DEC-2). A curve marked
`isTransition` (a coast's spring back from past an edge), like a spring a
component starts on release toward a target it picks, plays through the
Reduce Motion policy: a cross-fade on a coarse pointer or after a touch
release (`decay(curves, {touchRelease: true})`), at once elsewhere.
- `animatorFor(element)` returns the one animator for an element, so code
that animates it from several places (a swipe on x, a removal on y)
composes in one `translate` track.

### How it stays on the compositor

Each curve is baked into keyframes, sampled adaptively until linear
interpolation is within 0.05 px, and played with `easing: linear` and an
explicit `startTime`. The element's inline style already holds the end values,
interpolation is within 0.05 px, and played with `easing: linear` on one
start time. The element's inline style already holds the end values,
and the keyframes hold the end state for a few seconds past the curve's end;
the main thread drops the animation as soon as it runs after that end. So the
frame an animation ends needs no main thread and shows no flicker, even when
Expand Down
Loading
Loading