feat(motion): native spring integrator and GELATIN preset - #34
Open
professorpalmer wants to merge 3 commits into
Open
professorpalmer wants to merge 3 commits into
professorpalmer wants to merge 3 commits into
Conversation
2 of 4 tasks
This was referenced Sep 1, 2026
2 of 3 tasks
professorpalmer
force-pushed
the
feat/motion-springs
branch
from
September 10, 2026 03:01
31b1117 to
d38c15f
Compare
Author
|
Rebased |
1 of 2 tasks
professorpalmer
added a commit
to professorpalmer/Automaton
that referenced
this pull request
Sep 13, 2026
Hold file:vendor/gpuix-react-0.6.1.tgz — npm 0.7.0 lacks motion-spring lease-park; remorses/gpuix#34 is still open. Document drop criteria; never ask NPM_TOKEN for @gpuix. Stay on 0.3.0. Co-authored-by: Cary Palmer <professorpalmer@users.noreply.github.com>
Unsubscribe onFrame when every spring channel settles, skip setCurrent for unchanged integer px/opacity, and hard-settle leftover GELATIN crawl so GPUI is not rebuilt every frame. Tween motion.div is unchanged. Co-authored-by: Cary Palmer <professorpalmer@users.noreply.github.com>
The overshoot test stepped 120 x 8ms, but stiffness 40 / damping 6 only snaps to rest around frame 342, so it asserted a settle that had not happened. Step 500 frames. Add a case for an explicit type: "tween" transition, which the untagged enum would otherwise read as a spring. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
professorpalmer
force-pushed
the
feat/motion-springs
branch
from
September 29, 2026 21:34
d38c15f to
774c854
Compare
Author
|
Rebased onto Main moved motion a fair bit since the last rebase (AnimatePresence,
Test results (Windows, no Rust toolchain on this machine):
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
motion.div
transition={{ type: 'spring', stiffness, damping, mass }}.GELATIN
{ stiffness: 28, damping: 8, mass: 1.25 }is underdamped gel. Overdamped ~13/14/1 for micro UI.JS
stepSpringplus a nativemotion.rsintegrator. The frame loop pumpsonFrame. Proven in Automaton on published 0.6.0 channels (width/height/opacity/left/top/right/bottom/borderRadius). No scale/rotate. No metal CI on this machine.