The calculation is a somewhat slow - at the "root" of the speed problem is the calculation of the maximum chroma. In the future, we could imagine providing a lookup table, as colorspace does, to speed things up.
pth_plot_surface(x, ...)
# S3 method for default
pth_plot_surface(x, ...)
# S3 method for data.frame
pth_plot_surface(x, ...)
# S3 method for pth_surface
pth_plot_surface(x, step = 0.5, ...)
# S3 method for pth_hue_surface
pth_plot_surface(x, step = 0.5, constructor = pth_new_cieluv, ...)
# S3 method for pth_palette_path
pth_plot_surface(x, step = 0.5, ...)function with S3 class pth_palette_path or pth_hue_surface,
or data.frame with columns luminance, chroma, hue, hex
other arguments passed on to constructor
numeric size of step in luminance and chroma.
function that constructs a pth_mat, used to
identify the color space for the output matrix.
tibble with columns luminance, chroma, hue, hex