| colorjam_presets | R Documentation |
Colorjam hue warp presets
colorjam_presets(preset = NULL, ...)
preset |
|
... |
additional arguments are ignored. |
colorjam_presets(): list the names of available colorjam presets,
or when a preset name is provided, it returns hue warp data as a
list with names "h1" and "h2" suitable for use by
h2hw() and hw2h().
character vector of recognized colorjam presets, or when
preset is provided, it returns a list with elements:
h1: HCL color hue indicating the actual hue to be used
when generating a color.
h2: HCL color hue indicating the virtual hue assigned to each
actual hue in h1.
direction: with 1 indicating forward (increasing, clockwise)
progression around the color wheel, and -1 indicating reverse
(decreasing, counter-clockwise) progression around the color
wheel.
default_step: character string with name matching a
value returned by colorjam_steps()
optional attribute attr(x, "description") which may contain
a text description for each color preset
Other colorjam hue warp:
add_colorjam_preset(),
add_colorjam_step(),
adjust_hue_warp(),
approx_degrees(),
colorjam_steps(),
display_degrees(),
h2hw(),
h2hwOptions(),
hcl_to_hsl_hue(),
hsl_to_hcl_hue(),
hw2h(),
mean_angle(),
plot_colorjam_preset(),
remap_colorjam_preset(),
validate_colorjam_preset()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.