View source: R/utils_rendering.R
gen_paper | R Documentation |
Generate a paper texture based on small fibers
gen_paper(
n = 30000,
jitter = 1/30,
strength = 0.5,
size = 1/10,
color = "black",
expansion = -1/50
)
n |
texture density |
jitter |
length of texture elements |
strength |
curvature in texture elements |
size , color |
linewidth and color of texture elements |
expansion |
additive scaling for limits |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.