๐๐ Big news for chroma.js: ๐๐
The entire codebase has now been ported from CoffeeScript to ES6.
That means you can now import/require parts of chromajs in your projects without needing to load the entire library!
Sometimes I'm asked about color palettes for #dataviz. I use:
๐จ d3-scale-chromatic https://t.co/HUAEyhVHSX for quick jobs
๐จ chromajs https://t.co/5JOVRUJNEu to make my own, keeping this guide in mind: https://t.co/1cAvEzKl7j
What do you usually do?
The best thing about #generative art is code reusability! Just drop in a solution previous sketch and ๐. Now working in the CMY space and using @chroma_js to blend the colors.
Here's a quick demo script that loads just two color spaces but still uses the chroma api. The resulting rollup build is just 8.9k unminified (= 9% of full chromajs).
https://t.co/evb91bBAAR
A quick writeup on Chroma.js, the most delightful color library I've ever seen.
It's not an exhaustive tutorial for @code_punkt just enough to get you started. I'm still new to Chroma too :)
๐ https://t.co/8bUJwFYmnc