d3-color-difference icon indicating copy to clipboard operation
d3-color-difference copied to clipboard

Implement nearest() function

Open danburzo opened this issue 7 years ago • 0 comments

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), as it allows for much faster queries than the linear approach.

danburzo avatar Apr 19 '18 14:04 danburzo