
Last chance! 50% off unlimited learning
Sale ends in
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]
.
get_texture(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.
# NOT RUN {
get_texture("spacey1")
# }
Run the code above in your browser using DataLab