diff options
author | Anthony Wang | 2024-04-01 16:12:50 +0000 |
---|---|---|
committer | Anthony Wang | 2024-04-01 16:13:22 +0000 |
commit | 15635af66676a4c0d5a671d8cee6c790481786ee (patch) | |
tree | 57a4826c42170186fe5168cdd1efc2377e4e4ab5 /main.rs | |
parent | b6b2d2f783b36b76ceb4e9c342527053ab4fed92 (diff) |
Increase spacing between cells
Diffstat (limited to 'main.rs')
-rw-r--r-- | main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { "." } )?; } |