Overview of rayshader capabilities
masterWhat is rayshader?
rayshader is an R package used to produce 2D and 3D data visualizations. It primarily works by using elevation data in a base R matrix and applying raytracing, hillshading algorithms, and overlays.
Key Features
- 2D/3D Mapping: Generate stunning maps from elevation matrices using various shading techniques.
- ggplot2 Integration: Translate
ggplot2objects into 3D data visualizations usingplot_gg(). - Interactive & Scripted Views: Rotate models interactively or script camera movements to create animations.
- High-Quality Rendering: Use the
rayrenderpathtracer for realistic light transport and cinematic depth-of-field effects. - Export Options: Export 3D models to STL (for 3D printing) or OBJ formats.