pub fn linear(duration: f32) -> Transition
Create a linear transition with the given duration.
duration