Antonio Sánchez Chinchón shows how to draw Clifford attractors in R:
From a technical point of view, the challenge is creating a data frame with all locations, since it must have 10 milion rows and must be populated sequentially. A very fast way to do it is using
Rcpp
package. To render the plot I use ggplot, which works quite well. Here you have the code to play with Clifford Attractors if you want:
Click through for the code, as well as sample output images.
Comments closed