summaryrefslogtreecommitdiff
path: root/main.rs
diff options
context:
space:
mode:
authorAnthony Wang2024-04-01 16:12:50 +0000
committerAnthony Wang2024-04-01 16:13:22 +0000
commit15635af66676a4c0d5a671d8cee6c790481786ee (patch)
tree57a4826c42170186fe5168cdd1efc2377e4e4ab5 /main.rs
parentb6b2d2f783b36b76ceb4e9c342527053ab4fed92 (diff)
Increase spacing between cells
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 { "." }
)?;
}