volumr: Interactive Volume Rendering of Gridded Three-Dimensional Fields

Turns a gridded three-dimensional field into a volume that a browser renders on the GPU by ray marching a pair of 8-bit textures, under the emission and absorption model of Max (1995) <doi:10.1109/2945.468400>. The field is resampled onto a uniform vertical grid, carried into 8 bits through a monotone transfer whose error is reported against the source, and written as one image per level with a manifest that records the grid, the transfer and a SHA-256 of every input and every output. The payload is served from a directory or carried inside a single HTML file that opens with no server. An 'htmlwidget' exposes the renderer to 'shiny' and to R Markdown, and shinyVolumr() puts the whole workflow in a 'shinydashboard' application that also accepts a field uploaded by the reader. Marine heatwave cumulative intensity in the Mediterranean over the 0 to 250 m layer ships as the case study.

Version: 0.1.0
Depends: R (≥ 4.1)
Imports: base64enc, digest, ggplot2, grDevices, htmltools, htmlwidgets, jsonlite, Rcpp, stats, tools, utils
LinkingTo: Rcpp
Suggests: cmocean, knitr, ncdf4, png, rmarkdown, sf, shiny, shinydashboard, testthat (≥ 3.0.0)
Published: 2026-12-02
DOI: 10.32614/CRAN.package.volumr (may not be active yet)
Author: Pablo Almaraz ORCID iD [aut, cre], Manuel Fernandez-Barba ORCID iD [aut], DataLab ICMAN [aut] (URL: https://datalab-icman.github.io/)
Maintainer: Pablo Almaraz <pablo.almaraz at csic.es>
BugReports: https://github.com/datalab-icman/volumr/issues
License: GPL (≥ 3)
URL: https://github.com/datalab-icman/volumr
NeedsCompilation: yes
SystemRequirements: zlib
Language: en-GB
Citation: volumr citation info
Materials: README, NEWS
CRAN checks: volumr results

Documentation:

Reference manual: volumr.html , volumr.pdf
Vignettes: The volumr workflow (source, R code)

Downloads:

Package source: volumr_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): volumr_0.1.0.tgz, r-oldrel (x86_64): volumr_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=volumr to link to this page.