Skip to content

Jarratt SPI Fractal

Oscar Veliz edited this page Jan 4, 2021 · 3 revisions

Jarratt's Method video

For Jarratt's Method / SPI documentation visit here. See Newton Fractal for additional fractal information.

The video covering Jarrat SPI Fractals can be found here https://youtu.be/KClFSnX-RGM. Code to generate these fractals is given in JarrattFractal.plt written in gnuplot. To run the program have gnuplot installed (gnuplot.info) then type gnuplot JarrattFractal.plt in the terminal in the directory where JarrattFractal.plt is saved. Alternatively, open the gnuplot app then go to File > Open and select the JarrattFractal.plt file, or from gnuplot cd to correct directory and then type load 'JarrattFractal.plt'. The fractal will be generated and stored in JarrattFractal.png and can take a while depending on the number of iterations, function complexity, and resolution. You can edit the .plt file using any text editor though I would recommend VS Code with the gnuplot syntax highlighting extension.

The following fractals were created using the following functions and settings normally centered at 0 + 0i with r of 2 and a 16:9 ratio.

z4/4 - z

f(z) = z ** 4 / 4 - z

z^4/4-z

a = complex(0.5,0.5)

z^4/4-z

r = .5

z^4/4-z

z9/9+3z5-16z

f(z) = z**9 / 9 + 3*z**5 - 16z

z^8-15z^4+16

a = complex(0.5,0.5)

z^8-15z^4+16

r = .52

z^8-15z^4+16

arctan(z)

f(z) = atan(z)

arctan

-cos(z)

f(z) = -cos(z)

-cos

centerx = pi/2
r = 0.14

-cos

Colored Roots

See Newton Fractal documentation for details on how to isolate the portion that converges on a single root. Then use your favorite photo editor to remove the backgrounds, recolor, and then combine.

z4/4-z z9/9+3z5-16z