/clifford_attractors

R code to generate Clifford attractors

Primary LanguageRGNU General Public License v3.0GPL-3.0

Clifford Attractors

R code to generate beautiful high resolution Clifford attractors. The points of a Clifford attractor are defined by

xₙ₊₁ = sin(a yₙ) + c cos(a xₙ)

yₙ₊₁ = sin(b xₙ) + d cos(b yₙ)

where a, b, c, d are constants.

Samples

A large gallery of high resolution Clifford Attractors can be found here. Some low resolution examples can be found below.

In these plots, the colour is based on the angle between the current and previous point. The a, b, c, d parameters are randomly drawn from a U(-3, 3) distribution.

example 1

example 2

example 3

example 4

example 5

example 6

example 7

example 8

example 9

example 10

example 11

example 12

example 13

example 14

example 15

example 16

example 17

example 18

example 19

example 20

example 21

example 22

example 23

example 24

example 25

example 26

example 27