pubfnlinear(t:f32)->f32{
t
}/// Smooth rate function
////// from <https://github.com/3b1b/manim/blob/003c4d86262565bb21001f74f67e6788cae62df4/manimlib/utils/rate_functions.py#L17>
pubfnsmooth(t:f32)->f32{let s =1.0- t;
t * t * t *(10.0* s * s +5.0* s * t + t * t)}