black_hole | R Documentation |
This function generates a generative art ggplot object using points.
black_hole(
r_max = c(50, 150, 250, 350),
n = 10000,
lim = 300,
main_cols = rcartocolor::carto_pal(n = 7, name = "SunsetDark"),
bg_col = "black",
size = 0.01,
a = 0.5,
s = 1234
)
r_max |
Vector of radii for the internal circle. Default |
n |
Number of points per circle. Default 10000. |
lim |
Numeric specifying size of grid. Default 400. |
main_cols |
Vector of colours (or single colour). Default
|
bg_col |
Background colour. Default "black". |
size |
Size of points. Default 0.01. |
a |
Transparency of points. Default 0.5. |
s |
Random seed. Default 1234. |
A ggplot object.
black_hole()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.