diff options
Diffstat (limited to '')
-rw-r--r-- | src/blackbody.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blackbody.py b/src/blackbody.py index 4974b7e..1ad9b54 100644 --- a/src/blackbody.py +++ b/src/blackbody.py @@ -520,7 +520,7 @@ def simple_whitepoint(temperature): ''' r, g, b, temp = 1, 1, 1, temperature / 100 if temp > 66: - r = 1.292936186 * (temp - 60) ** 0.1332047592 + r = 1.292936186 * (temp - 60) ** -0.1332047592 g = 1.129890861 * (temp - 60) ** -0.0755148492 else: g = 0.390081579 * math.log(temp) - 0.631841444 |