diff --git a/src/main.rs b/src/main.rs index 66ae2db..3f99673 100644 --- a/src/main.rs +++ b/src/main.rs @@ -194,7 +194,7 @@ impl Drawable for Circle { }; let rgb: color::Rgb = hsv_color.into(); - let radius = tick % (1080/2); + let radius = (tick/30) % (1080/2); self.draw_circle(display,self.x,self.y,radius.try_into().unwrap(),rgb.r,rgb.g,rgb.b); } }