From 39a19f321675dd07457907b63c7b0732b294c77a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 5 Apr 2014 21:21:24 +0200 Subject: not important to demo, just mention it in the comprehensive example 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 ad1a0f1..5f5bfc4 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 this +def kelvins(temperature): ''' Resolve and colour temperature name diff --git a/src/curve.py b/src/curve.py index 034be46..2953095 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 this and add to textconf and lisp-esque + temperature = kelvins(temperature) # Do nothing if the temperature is neutral if temperature == 6500: return # Otherwise manipulate the colour curves -- cgit v1.2.3-70-g09d2