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.
Package details |
|
|---|---|
| Author | Pablo Almaraz [aut, cre] (ORCID: <https://orcid.org/0000-0003-1416-2695>), Manuel Fernandez-Barba [aut] (ORCID: <https://orcid.org/0000-0001-8953-2481>), DataLab ICMAN [aut] (URL: https://datalab-icman.github.io/) |
| Maintainer | Pablo Almaraz <pablo.almaraz@csic.es> |
| License | GPL (>= 3) |
| Version | 0.1.0 |
| URL | https://github.com/datalab-icman/volumr |
| Package repository | View on CRAN |
| Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.