From b147a1f0754915e2fb7efa64a4222d4ab1e7f190 Mon Sep 17 00:00:00 2001 From: madsCodeBuddy Date: Wed, 29 Apr 2026 04:29:47 +0000 Subject: [PATCH] Recolor desert farm Stommel diagram with colorblind-safe earth tones MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ENERGY_COLORS palette swapped for a muted earth-tone palette tuned for deuteranopia/protanopia separation by luminance: Chemical #0F793D (forest green) -> #7A8C5C (olive, L≈129) Radiative #FFCC33 (gold) -> #E5C16E (warm sand, L≈194) Thermal #CC3333 (red) -> #7B3F3F (deep rust, L≈81) Mechanical #336699 (steel blue) -> #4F6B82 (slate, L≈101) All pairwise luminance gaps >=20 -> distinguishable in grayscale and under all three CVD types. Footer link color updated to match. Regenerated docs/desert_farm_stommel.html. --- docs/build_desert_farm.py | 10 +++++----- docs/desert_farm_stommel.html | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/build_desert_farm.py b/docs/build_desert_farm.py index a508e88..2d09d97 100644 --- a/docs/build_desert_farm.py +++ b/docs/build_desert_farm.py @@ -26,10 +26,10 @@ # Energy type colors ENERGY_COLORS = { - "Chemical": "#0F793D", # green — bonds, reactions, metabolism - "Radiative": "#FFCC33", # gold — photons, solar - "Thermal": "#CC3333", # red — heat, evaporation, climate - "Mechanical": "#336699", # steel blue — kinetic, mixing, pumping + "Chemical": "#7A8C5C", # olive — bonds, reactions, metabolism + "Radiative": "#E5C16E", # warm sand — photons, solar + "Thermal": "#7B3F3F", # deep rust — heat, evaporation, climate + "Mechanical": "#4F6B82", # slate — kinetic, mixing, pumping } ENERGY_ORDER = ["Chemical", "Radiative", "Thermal", "Mechanical"] @@ -329,7 +329,7 @@ def _hover_display(val_min, val_max, unit): color: #888; }} .footer a {{ - color: #0F793D; + color: #7A8C5C; }} diff --git a/docs/desert_farm_stommel.html b/docs/desert_farm_stommel.html index 7d2f083..9ba8c9e 100644 --- a/docs/desert_farm_stommel.html +++ b/docs/desert_farm_stommel.html @@ -43,7 +43,7 @@ color: #888; } .footer a { - color: #0F793D; + color: #7A8C5C; } @@ -57,15 +57,15 @@

Operating Across Scale: From Molecules to Climate

chemical (green), radiative (gold), thermal (red), mechanical (blue). Click the legend to toggle energy types on/off.

-
+