aboutsummaryrefslogtreecommitdiffstats
path: root/src/point.rs
diff options
context:
space:
mode:
authorbrian cully <bjc@spork.org>2025-12-27 14:39:53 -0500
committerbrian cully <bjc@spork.org>2025-12-27 14:39:53 -0500
commit4a8f968b6cf8e7e3fc3cee72cc8b552a8ceec047 (patch)
treed5d873bb51ea1953946484858a95462db69b35c7 /src/point.rs
parentc182d8179ddd382543b7e56f46e78bf6a6724b2a (diff)
downloadpolyring-4a8f968b6cf8e7e3fc3cee72cc8b552a8ceec047.tar.gz
polyring-4a8f968b6cf8e7e3fc3cee72cc8b552a8ceec047.zip
fmt
Diffstat (limited to 'src/point.rs')
-rw-r--r--src/point.rs7
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)]