pub fn animation_timer(pulse: f32) -> f32