Description Usage Arguments Value Examples
Simulates a dry brushing effect. Differs from elevation_transparency() in that colour is applied based on local altitude peaks, not across the whole raster
1 2 3 4 5 6 7 |
raster_dem |
A raster |
aggregation_factor |
grid size to determine local altitude peaks |
max_colour_altitude |
Altitude below which colours will be graduated across elevation_palette |
opacity |
overall opacity of the returned image |
elevation_palette |
Colour scheme c(colour_for_low_altitude, colour_for_high_altitude) |
An image with a drybrushed colour effect, highlighting local peaks
1 | overlay_image <- drybrush(example_raster())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.