Releases: gka/chroma.js
Releases · gka/chroma.js
v2.4.0
v2.3.0
v2.2.0
chroma 1.3.5
- added LRGB interpolation
chroma 1.3.3
- bugfix in chroma.limits quantiles
- bugfix when running scale.colors(1)
- bugfix in hsi2rgb color conversion
- added unit tests for color conversions
chroma 1.3.1
- added color.clipped
chroma 1.3.0
- added chroma.distance
- added chroma.deltaE
- chroma.average now works with any color mode
- color.set returns a new chroma instance
- storing RGB channels as floats internally for higher precision
- chroma.scale now allows disabling of internal cache
- fixed bug with cubehelix and constant lightness
chroma.js 1.1.1
v1.1.1 Update readme.md
chroma.js 1.0.1
- added simple color output to chroma.scale().colors()
Before:
chroma.scale('RdYlGn').domain([0,1], 5).colors()
// returns ['#a50026', '#f88d52', '#ffffbf', '#86cb66', '#006837']
Now:
chroma.scale('RdYlGn').colors(5)
chroma.js 1.0.0
- refactored the entire codebase so every function sits in its own file, requiring other files it needs. chroma.js now uses mbloch/catty to resolve inter-dependencies.
- numeric interpolation now does what it should
- changed argument order in Color::interpolate