summary refs log tree commit diff
path: root/ascii-town-heatmap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ascii-town-heatmap.rs')
-rw-r--r--ascii-town-heatmap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ascii-town-heatmap.rs b/ascii-town-heatmap.rs
index fa818cf..8c8ae97 100644
--- a/ascii-town-heatmap.rs
+++ b/ascii-town-heatmap.rs
@@ -67,7 +67,7 @@ fn main() {
 
             let h = (1.0 - c) * 240.0;
             let s = c * 0.5 + 0.5;
-            let l = if c > 0.0 { c * 0.5 } else { 0.0 };
+            let l = if c > 0.0 { 0.5 } else { 0.0 };
 
             let (r, g, b) = hsl::HSL { h, s, l }.to_rgb();
             let rgb = image::Rgb([r, g, b]);
e7342cc3b13404df73945a9304dcc52b9aae10&follow=1'>Specify precedence of unary versions of operatorsJune McEnroe 2019-05-18Add compound assignment operators to orderJune McEnroe 2019-05-15Support simple assignment in orderJune McEnroe 2019-05-15Implement sizeof in orderJune McEnroe 2019-05-15Add orderJune McEnroe 2019-05-12Add T suffix in bitJune McEnroe 2019-05-10Highlight yacc and lex files as CJune McEnroe 2019-05-10Use val instead of suboptargJune McEnroe 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe