ijlyttle / colorpath

Build Color Paths
https://ijlyttle.github.io/colorpath
Other
0 stars 0 forks source link

function to calculate perceptual distance #38

Closed ijlyttle closed 4 years ago

ijlyttle commented 4 years ago

Given a palette function, a number of intervals, and a name of a method, return a vector (length n) of perceptual distances.

get_distance <- function(pal_luv, n = 20, method = "cie2000")