Skip to content

Animato v0.6.0 — Color

Choose a tag to compare

@github-actions github-actions released this 08 May 10:15
· 30 commits to main since this release
f703421

Animato v0.6.0 — Color

The sixth release of the Animato animation library for Rust, adding perceptual color interpolation through Lab, Oklch, and linear-light sRGB.

Crates published to crates.io

Crate Version Description
animato-core 0.6.0 Traits + 33 easing variants, no_std
animato-color 0.6.0 InLab<C>, InOklch<C>, and InLinear<C> perceptual color wrappers
animato-tween 0.6.0 Tween<T>, Loop, builder pattern, no_std, KeyframeTrack, serde
animato-spring 0.6.0 Spring, SpringN<T>, 5 presets, no_std
animato-path 0.6.0 Bezier curves, CatmullRom splines, motion paths, SVG parser
animato-physics 0.6.0 Inertia, DragState, GestureRecognizer, pinch, rotation
animato-driver 0.6.0 AnimationDriver, Clock variants
animato-timeline 0.6.0 Timeline, Sequence, stagger, time scale, callbacks, async wait
animato 0.6.0 Facade — re-exports all of the above

Quick Start

[dependencies]
animato = { version = "0.6.0", features = ["color"] }
use animato::{InLab, Tween, Update, palette::Srgb};

let mut tween = Tween::new(
    InLab::new(Srgb::new(1.0, 0.0, 0.0)),
    InLab::new(Srgb::new(0.0, 0.0, 1.0)),
)
.duration(1.0)
.build();

tween.update(0.5);
let midpoint = tween.value().into_inner();

What's New in v0.6.0

  • ✅ New animato-color crate
  • ✅ InLab<C> for CIE Lab* interpolation
  • ✅ InOklch<C> for modern perceptual Oklch interpolation
  • ✅ InLinear<C> for gamma-correct linear-light sRGB interpolation
  • ✅ color facade feature, color example, and integration tests

What's Included

  • ✅ no_std support for animato-core, animato-tween, animato-spring, fixed path curves in animato-path, 1D inertia/gestures in animato-physics, and animato-color
  • ✅ Criterion benchmarks for easing, tween, spring, timeline, paths, and physics
  • ✅ CI: stable + beta + nightly toolchains

See CHANGELOG.md and ROADMAP.md for details.