From 7f7a2ece327a07c4b08e61e89a693e96968de2d6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 5 Apr 2014 20:55:34 +0200 Subject: document kelvins and the automatic use of it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blackbody.py | 2 +- src/curve.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/blackbody.py b/src/blackbody.py index 686f94e..9b9352c 100644 --- a/src/blackbody.py +++ b/src/blackbody.py @@ -683,7 +683,7 @@ def clip_whitepoint(rgb): return [min(max(0, x), 1) for x in rgb] -def kelvins(temperature): # TODO demo and document this +def kelvins(temperature): # TODO demo this ''' Resolve and colour temperature name diff --git a/src/curve.py b/src/curve.py index 24e7330..034be46 100644 --- a/src/curve.py +++ b/src/curve.py @@ -73,7 +73,7 @@ def rgb_temperature(temperature, algorithm): @param algorithm:(float)→(float, float, float) Algorithm for calculating a white point, for example `cmf_10deg` ''' # Resolve colour temperature name - temperature = kelvins(temperature) # TODO demo and document this and add to textconf and lisp-esque + temperature = kelvins(temperature) # TODO demo this and add to textconf and lisp-esque # Do nothing if the temperature is neutral if temperature == 6500: return # Otherwise manipulate the colour curves -- cgit v1.2.3-70-g09d2