1#![warn(missing_docs)]
14
15mod color;
16mod ease;
17mod executor;
18mod flow;
19mod frame;
20mod lerp;
21mod paint;
22mod path;
23mod runtime;
24mod signal;
25mod transition;
26mod tween;
27
28pub use color::Color;
29pub use ease::{CubicBezier, Ease, presets};
30pub use ease::{bounce_in, bounce_in_out, bounce_out, elastic_in, elastic_in_out, elastic_out};
31pub use executor::Executor;
32#[allow(deprecated)]
33pub use flow::all_vec;
34pub use flow::{
35 All, Animation, Any, BoxFuture, Branches, Delayed, IntoAll, JoinHandle, VecBranches, all, any,
36 loop_while, next_frame, repeat, sequence, spawn, stagger, wait_for, wait_until,
37};
38pub use frame::{FrameSource, Image};
39pub use lerp::{Lerp, Transform};
40pub use paint::{BlendMode, Gradient, GradientKind};
41pub use runtime::{
42 begin_transition, dt, ease_named, fps, frame, has_previous, meta_snapshot, now, random,
43 random_range, time, tunable, with_rng,
44};
45pub use transition::{Blend, Dir, Kind, LayerPose, Recorded};
46
47pub use rand;
48pub use signal::Signal;
49pub use tween::{Seconds, Tween};
50
51pub use kurbo::{self, Affine, BezPath, Point, Vec2};
52
53pub const TIME_EPSILON: f64 = 1e-9;