#' @export cubeMap = function(x,r){ # (0 <= x0 <= 1, 0 <= r <= 1) return(r*(1-8*abs(x-0.5)^3)) # = r*(1-(2*abs(x-1/2))^3) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.