| demPalettes | R Documentation |
Choose land and water colours for a site panorama. The presets use illustrative elevation tints for different landscapes.
demPalettes(name = NULL)
name |
Optional exact preset name. Omit to retrieve the full catalogue. |
Pass a preset name to the terrain.palette argument of createHor.
Use demPalettes("standalone") to inspect the colours in that preset.
Temperate uses green and ochre, arid uses sand and red-brown, alpine runs
from forest greens to pale rock and white, and coastal pairs sand and grass
with a deep-blue to turquoise water ramp. Relief gives land one neutral tint
for inspecting slope shading. Each preset has its own sea_cols vector.
Land stops are ordered low to high and water stops deep to shallow.
createHor treats elevations at or below sea_level as water for colouring.
An inland depression below that threshold also receives the water tint.
sea_level=NULL uses the land ramp for all elevations.
With a name, a list containing land_cols and sea_cols. Without a name, a named list of those pairs.
Across 32 synthetic wall panoramas, the largest numerical skyline discrepancy was 0.0261 degrees. Pixel width affected the displayed width of the opening. H04 study.
createHor
names(demPalettes())
demPalettes("coastal")$sea_cols
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.