This commit is contained in:
0m.ax 2025-07-19 03:21:43 +02:00
parent 3a957a1c20
commit 9f03b76880
2 changed files with 273 additions and 1 deletions

View file

@ -188,7 +188,7 @@ impl Drawable for Circle {
/// Helper method to draw the 8 symmetric points for a given (x, y) offset.
fn draw_and_move(&mut self, display: &mut Display,tick:u32) {
let hsv_color = color::Hsv {
h: (tick%360).try_into().unwrap(),
h: ((tick/20)%360).try_into().unwrap(),
s: 1.0,
v: 1.0,
};