Package: rayshader 0.38.1

rayshader: Create Maps and Visualize Data in 2D and 3D

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.

Authors:Tyler Morgan-Wall [aut, cph, cre]

rayshader_0.38.1.tar.gz
rayshader_0.38.1.zip(r-4.5)rayshader_0.38.1.zip(r-4.4)rayshader_0.38.1.zip(r-4.3)
rayshader_0.38.1.tgz(r-4.4-x86_64)rayshader_0.38.1.tgz(r-4.4-arm64)rayshader_0.38.1.tgz(r-4.3-x86_64)rayshader_0.38.1.tgz(r-4.3-arm64)
rayshader_0.38.1.tar.gz(r-4.5-noble)rayshader_0.38.1.tar.gz(r-4.4-noble)
rayshader_0.38.1.tgz(r-4.4-emscripten)rayshader_0.38.1.tgz(r-4.3-emscripten)
rayshader.pdf |rayshader.html
rayshader/json (API)
NEWS

# Install 'rayshader' in R:
install.packages('rayshader', repos = c('https://tylermorganwall.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tylermorganwall/rayshader/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

11.23 score 2.1k stars 5 packages 1.5k scripts 2.2k downloads 1 mentions 62 exports 67 dependencies

Last updated 4 months agofrom:3f2daf5cb2. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-win-x86_64OKNov 02 2024
R-4.5-linux-x86_64OKNov 02 2024
R-4.4-win-x86_64OKNov 02 2024
R-4.4-mac-x86_64OKNov 02 2024
R-4.4-mac-aarch64OKNov 02 2024
R-4.3-win-x86_64OKNov 02 2024
R-4.3-mac-x86_64OKNov 02 2024
R-4.3-mac-aarch64OKNov 02 2024

Exports:%>%add_overlayadd_shadowadd_waterambient_shadecalculate_normalcloud_shadeconstant_shadeconvert_path_to_animation_coordsconvert_rgl_to_raymeshcreate_texturedetect_waterflag_banner_objflag_full_objflag_pole_objgenerate_altitude_overlaygenerate_compass_overlaygenerate_contour_overlaygenerate_label_overlaygenerate_line_overlaygenerate_point_overlaygenerate_polygon_overlaygenerate_scalebar_overlaygenerate_waterline_overlayheight_shadelamb_shadeplot_3dplot_ggplot_mapraster_to_matrixray_shadereduce_matrix_sizerender_beveled_polygonsrender_buildingsrender_camerarender_cloudsrender_compassrender_contoursrender_depthrender_floating_overlayrender_highqualityrender_labelrender_movierender_multipolygonzrender_objrender_pathrender_pointsrender_polygonsrender_raymeshrender_resize_windowrender_scalebarrender_snapshotrender_treerender_waterresize_matrixrun_documentationsave_3dprintsave_multipolygonz_to_objsave_objsave_pngsphere_shadetexture_shade

Dependencies:base64encbslibcachemclicodetoolscolorspacecrayondecidodigestdoParallelevaluatefansifarverfastmapfontawesomeforeachfsgluehighrhmshtmltoolshtmlwidgetsiteratorsjpegjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrmemoisemimemunsellpillarpkgconfigpngprettyunitsprogressR6rappdirsrasterrayimagerayrenderrayvertexRColorBrewerRcppRcppArmadilloRcppThreadrglrlangrmarkdownsassscalesspspacefillrterraterrainmeshrtibbletifftinytexutf8vctrsviridisLitewithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Add Overlayadd_overlay
Add Shadowadd_shadow
Add Wateradd_water
Calculate Ambient Occlusion Mapambient_shade
Calculate Normalcalculate_normal
Cloud Shadecloud_shade
Calculate Constant Color Mapconstant_shade
Calculate Animation Coordinates from Pathconvert_path_to_animation_coords
Convert rayshader RGL scene to ray_mesh objectconvert_rgl_to_raymesh
Create Texturecreate_texture
Detect waterdetect_water
Flag Banner 3D Modelflag_banner_obj
Flag 3D Modelflag_full_obj
Flag Pole 3D Modelflag_pole_obj
Generate Altitude Overlaygenerate_altitude_overlay
Generate Compass Overlaygenerate_compass_overlay
Generate Contour Overlaygenerate_contour_overlay
Generate Label Overlaygenerate_label_overlay
Generate Line Overlaygenerate_line_overlay
Generate Point Overlaygenerate_point_overlay
Generate Polygon Overlaygenerate_polygon_overlay
Generate Scalebar Overlaygenerate_scalebar_overlay
Generate Waterline Overlaygenerate_waterline_overlay
Calculate Terrain Color Mapheight_shade
Calculate Lambert Shading Maplamb_shade
California County Data Around Monterey Baymonterey_counties_sf
Road Data Around Monterey Baymonterey_roads_sf
Monterey Bay combined topographic and bathymetric elevation matrix.montereybay
Plot 3Dplot_3d
Transform ggplot2 objects into 3Dplot_gg
Plot Mapplot_map
Raster to Matrixraster_to_matrix
Calculate Raytraced Shadow Mapray_shade
Reduce Matrix Size (deprecated)reduce_matrix_size
Render Beveled Polygonsrender_beveled_polygons
Render Buildingsrender_buildings
Render Camerarender_camera
Render Cloudsrender_clouds
Render Compass Symbolrender_compass
Render Contoursrender_contours
Render Depth of Fieldrender_depth
Render Floating overlayrender_floating_overlay
Render High Qualityrender_highquality
Render Labelrender_label
Render Movierender_movie
Render MULTIPOLYGON Z Geometryrender_multipolygonz
Render Objrender_obj
Render Pathrender_path
Render Pointsrender_points
Render Polygonsrender_polygons
Render Raymeshrender_raymesh
Resize the rgl Windowrender_resize_window
Render Scale Barrender_scalebar
Render Snapshot of 3D Visualizationrender_snapshot
Render Treerender_tree
Render Water Layerrender_water
Resize Matrixresize_matrix
Run Documentationrun_documentation
Save 3D Printsave_3dprint
Save MULTIPOLYGON Z sf data to OBJ filesave_multipolygonz_to_obj
Save OBJsave_obj
Save PNGsave_png
Calculate Surface Color Mapsphere_shade
Calculate Texture Shading Maptexture_shade
Washington Monument 3D Model as Multipolygon Z Datawashington_monument_multipolygonz