Evercoder / Evercoder/d3-color-difference
Implement nearest() function
Open
enhancement
help wanted
- Dominant language
- JavaScript
- Stars
- 35
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
One use for the color difference formulas is to find the closest color from a set to a given color. A good data structure for this seems to be a [v-p tree (Vantage Point Tree)](http://pnylab.com/papers/vptree/main.html), as it allows for much faster queries than the linear approach.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.