Description Usage Arguments Examples
View source: R/dejong_attractor.R
Generates data for plotting a De Jong attractor and stores it in a data frame. The Rcpp implementation is from the blog post Drawing 10 Million Points With ggplot by Antonio Sanchez Chinchon.
1 2 3 4 5 6 7 8 9 | dejong_attractor(
a = 0.4,
b = 60,
c = 10,
d = 1.6,
x0 = 0.1,
y0 = 0.1,
n = 1e+07
)
|
a, b |
Parameters |
x0, y0 |
Initial point coordinates |
n |
The number of points to generate |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.