From 3a957a1c207b3d52ebfcec9c7f6c2eea5fa920eb Mon Sep 17 00:00:00 2001 From: "0m.ax" Date: Sat, 19 Jul 2025 03:20:32 +0200 Subject: [PATCH] remove overflow --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 8495bd9..2282df0 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 % 128; + let radius = tick % (1080/2); self.draw_circle(display,self.x,self.y,radius.try_into().unwrap(),rgb.r,rgb.g,rgb.b); } }