bevy/tools/build-easefunction-graphs/Cargo.toml
SpecificProtagonist 7c2d54c93f
EaseFunction svg graphs in doc (#17461)
# Objective

The docs of `EaseFunction` don't visualize the different functions,
requiring you to check out the Bevy repo and running the
`easing_function` example.

## Solution

- Add tool to generate suitable svg graphs. This only needs to be re-run
when adding new ease functions.
- works with all themes
- also add missing easing functions to example.

---

## Showcase

![Graphs](https://i.imgur.com/V2oTEUq.png)

---------

Co-authored-by: François Mockers <mockersf@gmail.com>
2025-02-08 09:52:39 +00:00

14 lines
304 B
TOML

[package]
name = "build-easefunction-graphs"
edition = "2021"
description = "Tool that generates a svg for each EaseFunction to be included in the docs"
publish = false
license = "MIT OR Apache-2.0"
[dependencies]
bevy_math = { path = "../../crates/bevy_math" }
svg = "0.18.0"
[lints]
workspace = true