Skip to content

gpui-ce-motion 0.1.0

Choose a tag to compare

@1bye 1bye released this 18 Oct 08:03

First public release of gpui-ce-motion, a native Rust motion engine with stock GPUI CE adapters.

Included

  • Declarative transitions, physical/visual springs, enter/exit presence, and smooth interruption.
  • Keyframes, playback controls, timelines, stagger, variants, scalar/color motion values.
  • Native gestures, drag inertia/snapping, manual scroll-linked animation, and draggable/reorderable lists and tabs.
  • Automatic position-only layout animation, measured sizing, popped exits, shared position/crossfade, and style transitions.
  • SVG GPU scale/rotation and compatible vector path morph/stroke reveal.
  • Eight demos, including the seven-experiment Motion studio showcase, tests, and CPU benchmarks.

Use

[dependencies]
gpui-ce-motion = { version = "0.1", features = ["gpui"] }

Rust 1.95+, edition 2024. MIT OR Apache-2.0. Native adapters use published gpui-ce =0.2.2; no renderer fork or Git override is required. The default feature set is dependency-free.

Run the recording showcase from this repository:

cargo run --release --features demo --example motion_showcase

General element scale/rotation, size projection, and browser/DOM/CSS parity are outside this release. See COVERAGE.md and PERFORMANCE.md for limits and measurement scope. Native TestPlatform checks and CPU benchmarks do not measure GPU presentation.

Crates.io · API documentation