Once webR has been loaded into this page, a visualisation of a Clifford attractor should be drawn above. This is a type of mathematical object known as a strange attractor, with chaotic and fractal properties.
The governing equations are,
The attractor is drawn using an R script and written to the page using webR's included HTML canvas graphics device. The underlying R code can be found at the project source code in draw.js
.
The process in this page is interactive, and the parameters governing the evolution of the system can be tweaked using the settings in the top right of the page. Try to avoid parameters near zero, they tend to result in smaller and less interesting attractors.
Setting a smaller value for Alpha
will result in nicer plots, but take longer to visualise.