diff options
| author | brian cully <bjc@spork.org> | 2025-12-27 14:39:53 -0500 |
|---|---|---|
| committer | brian cully <bjc@spork.org> | 2025-12-27 14:39:53 -0500 |
| commit | 4a8f968b6cf8e7e3fc3cee72cc8b552a8ceec047 (patch) | |
| tree | d5d873bb51ea1953946484858a95462db69b35c7 /src/point.rs | |
| parent | c182d8179ddd382543b7e56f46e78bf6a6724b2a (diff) | |
| download | polyring-4a8f968b6cf8e7e3fc3cee72cc8b552a8ceec047.tar.gz polyring-4a8f968b6cf8e7e3fc3cee72cc8b552a8ceec047.zip | |
fmt
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)] |
