# Strange attractors in generativepy

- Categories:
- generative art
- fractal

Strange attractors are a type of fractal formed by iterating over a set of equations.

The equations typically take in an `(x, y)`

pair of values that represent a point in 2 dimensions. The result of the calculation is a new `(x, y)`

pair of values.

By continuously feeding the new values back into the same equations, the process creates a stream of `(x, y)`

values.

When these values are plotted as dots on an image, the result initially looks random and chaotic. But after plotting a large number of points, a pattern appears as the points only land on certain parts of the plane.

The pattern can often be enhanced by applying different colours, typically based on how many times each point is visited by the algorithm.

In a true strange attractor, the same pattern will always occur no matter what values are chosen for the initial `x`

and `y`

. There are other types where the pattern is different depending on the initial values. These types are still commonly called strange attractors.

This section includes:

- Tinkerbell in black and white.
- Tinkerbell in colour.
- King's dream.
- Gingerbread man.
- Henon.
- Hopalong.
- Popcorn.

## Sign up to the Creative Coding Newletter

Join my newsletter to receive occasional emails when new content is added, using the form below: