color-space
Advanced tools
Comparing version 0.3.1 to 0.3.2
//TODO: save hue on setting sat = 0; | ||
//TODO: if to start with lchuv, it gets bad rgb/other values | ||
//TODO: specify exact lchuv/luv limits | ||
@@ -21,3 +23,3 @@ var spaces = { | ||
for (var toSpaceName in spaces) { | ||
if (!fromSpace[toSpaceName]) { | ||
if (toSpaceName !== fromSpaceName && !fromSpace[toSpaceName]) { | ||
fromSpace[toSpaceName] = getConverter(fromSpace, toSpaceName); | ||
@@ -24,0 +26,0 @@ } |
{ | ||
"name": "color-space", | ||
"description": "Math & data behind color spaces and color conversions.", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"author": "Deema Ywanow <dfcreative@gmail.com>", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -54,2 +54,3 @@ # color-space [![Build Status](https://travis-ci.org/dfcreative/color-space.svg?branch=master)](https://travis-ci.org/dfcreative/color-space) | ||
space.illuminant //space-specific properties | ||
space.observer | ||
``` | ||
@@ -56,0 +57,0 @@ |
226620
7972
83