pub fn delta(ctx: &Context) -> Duration
ctx.time.delta
Get the time between the start of the last frame and the current one; in other words, the length of the last frame.