summaryrefslogtreecommitdiff
path: root/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'main.rs')
-rw-r--r--main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.rs b/main.rs
index 9bd242f..cf93b84 100644
--- a/main.rs
+++ b/main.rs
@@ -264,8 +264,8 @@ fn main() -> std::io::Result<()> {
writeln!(
file,
"<div style='color:white;position:absolute;top:{}px;left:{}px'>{}</div>",
- ((i / 11) as f32 + rng.gen_range(0.1..0.9)) * 50.0,
- ((i % 11) as f32 + rng.gen_range(0.1..0.9)) * 50.0,
+ ((i / 11) as f32 + rng.gen_range(0.15..0.85)) * 50.0,
+ ((i % 11) as f32 + rng.gen_range(0.15..0.85)) * 50.0,
if cnt % 2 == 0 { "|" } else { "." }
)?;
}