https://github.com/mwcz/median-cut-js
A JavaScript implementation of the median-cut algorithm.
https://github.com/mwcz/median-cut-js
Last synced: about 1 month ago
JSON representation
A JavaScript implementation of the median-cut algorithm.
- Host: GitHub
- URL: https://github.com/mwcz/median-cut-js
- Owner: mwcz
- License: agpl-3.0
- Created: 2011-11-11T03:14:48.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-04-23T19:31:28.000Z (about 1 year ago)
- Last Synced: 2024-11-05T13:41:07.976Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 125 KB
- Stars: 37
- Watchers: 5
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
median-cut.js
=============median-cut.js is a JavaScript implementation of the [Median Cut](https://en.wikipedia.org/wiki/Median_cut) algorithm for color quantization. Median cut is typically used to reduce the number of colors in an image. It can be used more generally to find clusters in any 3-dimensional data set.
Median cut is also useful for finding a color palette that "represents" an image.
median-cut.js was created for use in [ColorPal](http://mwcz.org/2012/01/16/colorpal-alpha/).
USAGE
-----Coming soon. [he said on Feb 10, 2012]