qrohlf / trianglify

Algorithmically generated triangle art
http://qrohlf.com/trianglify/
GNU General Public License v3.0
10.08k stars 669 forks source link

RGB vs LAB color space #27

Closed qrohlf closed 9 years ago

qrohlf commented 9 years ago

Right now the v0.2.0 branch is using the chroma-js LAB color space for interpolation. This issue is a TODO for me to do some comparisons between Trianglify output using d3 ordinal scales (which I think use RGB interpolation) versus output using LAB from the v0.2.0 branch.

qrohlf commented 9 years ago

Some preliminary comparisons:

RGB rgb

LAB lab

HSL hsl

HSV hsv

qrohlf commented 9 years ago

Decided to expose color space as a config option. Default is LAB, might have to revisit that one in the future though.