slow move
This commit is contained in:
parent
9f03b76880
commit
29261101e4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue