Skip to content

Releases: jwagner/dont-crop

v0.2.0 - improved getPalette

19 Sep 13:10
a4fe327
Compare
Choose a tag to compare

Improved the getPalette algorithm by introducing a pre and post processing step.
The preprocessing gets rid of the random initialization for more consistent results.
Because k-means tends to return clusters of similar size the post processing
merges similar colors to provide a more varied palette.

Make es modules compatible with nodejs

15 Jun 22:15
Compare
Choose a tag to compare
v0.0.2

Trying to get esm to play nicely with node and ts

Initial release

15 Jun 20:24
Compare
Choose a tag to compare
v0.0.1

Initial public commit