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.

貢獻者指南