rayshader
0.41.2Create Maps and Visualize Data in 2D and 3D
Overview
Uses a combination of raytracing and multiple hill shading methods to produce 2D and 3D data visualizations and maps. Includes water detection and layering functions, programmable color palette generation, several built-in textures for hill shading, 2D and 3D plotting options, a built-in path tracer, 'Wavefront' OBJ file export, and the ability to save 3D visualizations to a 3D printable format.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-27
- WARNING12 OK, 1 WARNING2026-06-13
- OK13 OK2026-06-08
Show 5 earlier changesHide 5 earlier changes
- ERROR12 OK, 1 ERROR2026-06-07
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 116 (51 internal)
- Examples that run
- 80%60 run in a plain check (2 of them under a condition) · 1 never run · 14 hold no code
- Exported functions with examples
- 98%
- Documented parameters
- 99%
- Return-value docs
- 59%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 41%
- Median days to close, 50 most recently updated closed issues
- 36
- Median days to close, 50 most recently updated closed PRs
- 12
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
11 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/tylermorganwall/rayshader on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-07-20 · The repository has a site deploy workflow
pkgdown site last built 2026-07-20
Dependencies
Installing rayshader adds 86 packages (49 with compiled code, 65 MB of source tarballs). Heaviest: stringi 11 MB, bslib 5.6 MB, sp 4.3 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.41.2Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.37.32024-02-21 · diff ↗ ·
added 5 exports
convert_rgl_to_raymesh, render_beveled_polygons, render_buildings, render_raymesh, run_documentation - 0.35.72023-06-13 · diff ↗ ·
added 14 exports
cloud_shade, constant_shade, convert_path_to_animation_coords, flag_banner_obj, flag_full_obj, flag_pole_obj, render_clouds, render_contours, render_floating_overlay, render_multipolygonz, render_obj, render_resize_window, render_tree, save_multipolygonz_to_obj - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.24.102021-04-28 · diff ↗
- 0.24.52021-04-11 · diff ↗ ·
added 7 exports
generate_compass_overlay, generate_label_overlay, generate_point_overlay, generate_scalebar_overlay, generate_waterline_overlay, render_polygons, texture_shade - 0.19.22020-08-02 · diff ↗ ·
added 7 exports
generate_altitude_overlay, generate_contour_overlay, generate_line_overlay, generate_polygon_overlay, render_path, render_points, resize_matrix - RR 4.0.0 released · 2020-04-24
- 0.15.1
- 0.13.72020-01-25 · diff ↗
- 0.13.22019-12-18 · diff ↗
Show 9 earlier eventsHide 9 earlier events
- 0.13.12019-11-12 · diff ↗ ·
added 5 exports
height_shade, raster_to_matrix, reduce_matrix_size, render_highquality, save_obj - 0.11.52019-07-11 · diff ↗
- 0.11.4
- RR 3.6.0 released · 2019-04-26
- 0.10.12019-02-20 · diff ↗
- 0.10.02019-02-18 · diff ↗ ·
added 6 exports
add_overlay, render_camera, render_depth, render_label, render_snapshot, render_water - 0.5.1
- 0.4.72018-08-31
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-08-31
- Total releases
- 16 / 8 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1
- Bundled data
- 2.5 MB / 4 files
- Download size
- 2.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rayshader")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.