Development Using k-d trees to efficiently calculate nearest neighbors in 3D vector space What would the world look like if there were only 16 colors? I use k-d trees to perform nearest neighbor search to find out.