Skip to main content

Crate kinetocore

Crate kinetocore 

Source
Expand description

§Kinetocore

Pure Rust, framework-agnostic physics and multi-track timeline motion engine.

§Overview

kinetocore is a headless, universal motion and timeline sequencing engine with zero UI dependencies. Operating with nanosecond numerical precision, it powers fluid animations, spring physics, and multi-track timeline orchestrations across:

  • WGPU & 3D Viewports: Direct GPU buffer updates with zero UI overhead.
  • Dioxus Ecosystem: Serves as the foundational mathematical engine behind kinetoxus.
  • Universal Rust Applications: Usable in Bevy, Slint, egui, or headless rendering pipelines.

§Core Pillars

  • Interpolate: Atomic value-level linear interpolation for scalars and arrays.
  • Ease: Unified enum wrapping Robert Penner easing formulas via easer.
  • AnimClock: Timekeeping, repeat cycles, and yoyo/mirrored arithmetic.
  • Tween: Pure-value tweening supporting set and from_to.

Re-exports§

pub use clock::AnimClock;
pub use clock::ClockState;
pub use direction::PlaybackDirection;
pub use ease::Ease;
pub use interpolate::lerp;
pub use interpolate::Interpolate;
pub use repeat::RepeatCount;
pub use repeat::RepeatStrategy;
pub use tween::Tween;

Modules§

clock
Time tracking and cycle arithmetic engine for animations.
direction
Playback direction definitions.
ease
Easing curve definitions and evaluation wrapper around Robert Penner easing equations.
easing
Re-export easing functions from easer for backwards compatibility.
interpolate
Core interpolation contract and implementations for numeric types.
prelude
Convenience re-exports of core kinetocore types.
repeat
Repeat counts and repeat strategy definitions.
tween
Core value-level tween implementation.

Constants§

VERSION
Current package version of kinetocore.