slow move

This commit is contained in:
0m.ax 2025-07-19 03:22:53 +02:00
parent 9f03b76880
commit 29261101e4

View file

@ -194,7 +194,7 @@ impl Drawable for Circle {
}; };
let rgb: color::Rgb = hsv_color.into(); 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); self.draw_circle(display,self.x,self.y,radius.try_into().unwrap(),rgb.r,rgb.g,rgb.b);
} }
} }