pub fn average_delta(ctx: &Context) -> Duration
ctx.time.average_delta
Gets the average time of a frame, averaged over the last 200 frames.