1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! # 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 Features
//!
//! - **Dual Mathematics Engine**:
//! - Industry-standard **Robert Penner Easing** functions via [`easer`].
//! - Velocity-based **Damped Harmonic Oscillator** (Spring Physics) for natural, interruptible motion.
//! - **Multi-Track Timeline**: First-class scrubbing (`seek`, `progress`, `reverse`, `time_scale`).
//! - **Target-Agnostic Interpolation**: Interpolates any numeric type (`f32`, `f64`, `[f32; N]`, vectors).
/// Re-export easing functions from easer.
pub use functions as easing;
/// Early scaffold version of kinetocore.
pub const VERSION: &str = env!;