Create luminance-hue surface
pth_new_surface(colors, route = c("short", "long"), n_step = 30, ...)
# S3 method for default
pth_new_surface(colors, route = c("short", "long"), n_step = 30, ...)
# S3 method for character
pth_new_surface(
colors,
route = c("short", "long"),
n_step = 30,
transformer = pth_to_cieluv,
...
)
# S3 method for pth_mat
pth_new_surface(colors, route = c("short", "long"), n_step = 30, ...)
character
hex-codes, or matrix with object with
S3 class pth_mat
. Must have one or two elements.
character
, indicates which direction to take around the
circle; must be either "short"
(default), or "long"
.
(double
coerced to) integer
number of steps to take along
luminance domain to calculate maximum chroma.
other args, not used
function
used to transform to a color space.
Used if colors
are hex-codes.
Onject with S3 class pth_new_surface
.