Evercoder/d3-color-difference

Implement nearest() function

Open

#1 创建于 2018年4月19日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (9 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (35 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南