slower c
This commit is contained in:
parent
3a957a1c20
commit
9f03b76880
2 changed files with 273 additions and 1 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue