DeJongAttractor | R Documentation |
Functions to calculate the sequence of points given by the following dynamical system in order to draw the attractor of the system.
runDeJongAttractor calculates the attractor. makeDeJongAttractor makes a component that calculates and plots the Attractor.
ref is a vector of data references that are added to the p slot in the component
makeDeJongAttractor(type = "points", ...) runDeJongAttractor( a = 3, b = 0.4, c = 2, d = 0.6, inputx = 0, inputy = 0, x = NULL, y = NULL, runTime = 1e+05, sampleSize = NULL, reuseInput = FALSE )
type |
The name(s) of the plotting function(s) used to plot the component. Defaults to "points". This can also include the names of classes linked to a plotting function. |
... |
parameters passed to the component and the component function runDeJongAttractor. See "details" for more information. |
a, b, c, d |
The four parameters of the attractor from the above equations. |
.frames, .plotting and .repeats control the run function
All other parameters are added to the p slot in the component. This can include graphical parameters for the plotting function(s) or the run function.
http://paulbourke.net/fractals/peterdejong/
Other 2dAttractors:
CliffordAttractor
,
SvenssonAttractor
art=makeDeJongAttractor(cex=0.1,col=rgb(0,0,0,0.1)) ##easyPlot(art,preserveAspectRatio=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.