diff options
Diffstat (limited to 'src/point.rs')
| -rw-r--r-- | src/point.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/point.rs b/src/point.rs index 76f9ced..18d3d5f 100644 --- a/src/point.rs +++ b/src/point.rs @@ -3,7 +3,12 @@ use crate::state::{MAX_SPEED, TAU}; const POINT_RADIUS: f64 = 0.01; fn rand_color() -> String { - format!("rgb({} {} {})", fastrand::u8(0..255), fastrand::u8(0..255), fastrand::u8(0..255)) + format!( + "rgb({} {} {})", + fastrand::u8(0..255), + fastrand::u8(0..255), + fastrand::u8(0..255) + ) } #[derive(Clone, Debug)] |
