Evercoder / Evercoder/d3-color-difference

Implement nearest() function

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.