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.