diff --git a/Cargo.toml b/Cargo.toml index 6f12feeee466c..d057f022006a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1020,7 +1020,7 @@ doc-scrape-examples = true [package.metadata.example.color_animation] name = "Color animation" -description = "Bezier curve example showing squares changing colors using different color spaces" +description = "Demonstrates how to animate colors using mixing and splines in different color spaces" category = "Animation" wasm = true diff --git a/examples/README.md b/examples/README.md index 4ec7633f9a79f..a336ede7f4af3 100644 --- a/examples/README.md +++ b/examples/README.md @@ -165,7 +165,7 @@ Example | Description [Animated Fox](../examples/animation/animated_fox.rs) | Plays an animation from a skinned glTF [Animated Transform](../examples/animation/animated_transform.rs) | Create and play an animation defined by code that operates on the `Transform` component [Animation Graph](../examples/animation/animation_graph.rs) | Blends multiple animations together with a graph -[Color animation](../examples/animation/color_animation.rs) | Bezier curve example showing squares changing colors using different color spaces +[Color animation](../examples/animation/color_animation.rs) | Demonstrates how to animate colors using mixing and splines in different color spaces [Cubic Curve](../examples/animation/cubic_curve.rs) | Bezier curve example showing a cube following a cubic curve [Custom Skinned Mesh](../examples/animation/custom_skinned_mesh.rs) | Skinned mesh example with mesh and joints data defined in code [Morph Targets](../examples/animation/morph_targets.rs) | Plays an animation from a glTF file with meshes with morph targets diff --git a/examples/animation/color_animation.rs b/examples/animation/color_animation.rs index 6c3e4a766bed3..cde5797b20385 100644 --- a/examples/animation/color_animation.rs +++ b/examples/animation/color_animation.rs @@ -1,4 +1,4 @@ -//! Documents how to animate colors in different color spaces. +//! Demonstrates how to animate colors in different color spaces using mixing and splines. use bevy::{ math::cubic_splines::{CubicCurve, Point},