Description Usage Arguments Value Examples
This function implements a number of new color textures for rayshader maps,
allowing users to reference any of the "spacey" palettes without needing to
create arrays themselves. It is extremely unlikely users will need to call
this function themselves; instead, most users will call it via
[automap]
.
1 | get_texture(colorscale)
|
colorscale |
The color scale to return an RGB array for |
A matrix object provided by readPNG
, suitable for
use with rayshader
and similar mapping utilities.
1 | get_texture("spacey1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.