Escape-time fractals in generativepy
Escape time fractals are similar to strange attractors.
Starting from a given point
(x, y) in the image space, the function is applied iteratively to test whether it diverges or converges. The initial point is marked with a colour according to the result.
This process is repeated for every point in the image space. By the end, every pixel in the image is marked with a colour to indicate whether the iteration starting at that point will diverge or converge.
In some cases, the colour of the pixel is changed to indicate how many iterations were required for the values to diverge beyond some arbitrary point. This can reveal more details of the fractal.
Comparison with strange attractors
The key difference between strange attractors and escape-time fractals is:
- For a strange attractor, starting from a single point
(x, y)we use the formulae to generate a sequence of other points that are marked as being part of the attractor.
- For an escape-time fractal, for every point
(x, y)in the image, we apply the formula repeatedly and test whether it diverges or converges, and mark that pixel accordingly.
Here are some escape-time fractals:
- Strange attractors in generativepy
- Black and white Tinkerbell fractal in generativepy
- Coloured Tinkerbell fractal in generativepy
- King's dream fractal in generativepy
- Gingerbread man fractal in generativepy
- Henon fractal in generativepy
- Hopalong fractal in generativepy
- Popcorn fractal in generativepy
- Black and white Mandelbrot fractal in generativepy
- Coloured Mandelbrot fractal in generativepy
- Julia fractal in generativepy
- Burning ship fractal in generativepy
- Newton fractal in generativepy
Sign up to the Creative Coding Newletter
Join my newsletter to receive occasional emails when new content is added, using the form below: