This adds most of the "standard" easing functions from https://easings.net/ to `emath::easing`, and adds helpers in `egui` for using them. In particular there is now `ctx.animate_bool_with_easing` and `ctx.animate_bool_responsive`, that uses a cubic easing function. All animations in egui now uses cubic ease-out, for a more responsive feeling (fast at the start, slower towards the end). |
||
|---|---|---|
| .. | ||
| align.rs | ||
| easing.rs | ||
| history.rs | ||
| lib.rs | ||
| numeric.rs | ||
| ordered_float.rs | ||
| pos2.rs | ||
| range.rs | ||
| rect.rs | ||
| rect_transform.rs | ||
| rot2.rs | ||
| smart_aim.rs | ||
| ts_transform.rs | ||
| vec2.rs | ||
| vec2b.rs | ||