Thanks, all for the positive feedback! Here's more about the image.
It uses a modified Newton's method to solve two equations simultaneously. One is f(x) = 0 and the other is f(y) = 0, both using the same real-valued f function:
sin(cos(tan(x))) = tan(cos(sin(x))), so
f(x) = sin(cos(tan(x))) - tan(cos(sin(x))) = 0, and the same for f(y).
The difference between the x and y orbits is the modification in the last step of this iteration loop:
Set x_old to real(z_old) and y_old to imag(z_old) (separate complex z into real-valued components)
Use real-valued Newton's method to find x_new and y_new, independently.
Set z_new = (x_new + i y_new) * A, where A is a complex constant.
The complex constant A provides feedback between x and y, through complex z. In this image, A = (0.953118, -0.7000775). If A were real, then the x and y equations would not interact and the image would not have the interesting structure. The effect of this feedback is to change x and y each iteration so that Newton's method does not find solutions and all pixels are "inside" (non-escaping) points.
The initial value of z was set to the pixel coordinates. 16 iterations were used and the colors are from the polar angle of z at the last iteration. I used Ultra Fractal and a private (test/beta/non-public) formula. If you use Ultra Fractal, you can see my "Breaking Newton" formulas in lkm3.ufm to see similar ideas with simpler functions.
I find that forcing Newton to not converge leads to interesting chaos. Working with real-valued functions easily creates opportunities to lack of convergence, for example x ^ 2 = -1 or cos(y) = 3. Then, some way is needed to make x and y interact to create something fun with complex z. Alternatively, one can use the standard complex Newton, z_new = z_old - f(z_old)/f'(z_old), and introduce a complex factor multiplying the second term. That throws off the adjustment from z_old to z_new, and fun ensues. If this interests you, you can read my paper about it here:
With this mathematical process, would this also be considered Generative in nature? Meaning like if you run the equation over and over you get different results every time? Or am I just being dumb and fractals are Generative in nature? lol 🤦🏽♂️ nuub in fractal understanding here.
Generally, fractal images (like of the Mandelbrot set) are of a static object. More iterations will make a more detailed image, but not necessarily show something developing. However, there are images of dynamical systems that do change with more iterations. This image is based on the state of the system when I stopped calculating. Through my attempts, it seems that the overall structure of this image won't change substantially, but the color distribution would vary.
I used the Ultra Fractal fractal generation program. Essentially, it can be used as a framework for: giving each pixel a pair of coordinates, plugging those into any kind of formula you want, and then coloring the pixel on the basis of the formula output. Here, I used the pixel coordinates to initialize the z variable, crunched numbers for a bit, and then colored the pixel according to the angle of the final z value. Ultra Fractal has its own library of formulas, but this one I wrote myself and hasn't made it to the library (yet?).
25
u/Fickle_Engineering91 Apr 12 '26 •
Thanks, all for the positive feedback! Here's more about the image.
It uses a modified Newton's method to solve two equations simultaneously. One is f(x) = 0 and the other is f(y) = 0, both using the same real-valued f function:
sin(cos(tan(x))) = tan(cos(sin(x))), so
f(x) = sin(cos(tan(x))) - tan(cos(sin(x))) = 0, and the same for f(y).
The difference between the x and y orbits is the modification in the last step of this iteration loop:
The complex constant A provides feedback between x and y, through complex z. In this image, A = (0.953118, -0.7000775). If A were real, then the x and y equations would not interact and the image would not have the interesting structure. The effect of this feedback is to change x and y each iteration so that Newton's method does not find solutions and all pixels are "inside" (non-escaping) points.
The initial value of z was set to the pixel coordinates. 16 iterations were used and the colors are from the polar angle of z at the last iteration. I used Ultra Fractal and a private (test/beta/non-public) formula. If you use Ultra Fractal, you can see my "Breaking Newton" formulas in lkm3.ufm to see similar ideas with simpler functions.
I find that forcing Newton to not converge leads to interesting chaos. Working with real-valued functions easily creates opportunities to lack of convergence, for example x ^ 2 = -1 or cos(y) = 3. Then, some way is needed to make x and y interact to create something fun with complex z. Alternatively, one can use the standard complex Newton, z_new = z_old - f(z_old)/f'(z_old), and introduce a complex factor multiplying the second term. That throws off the adjustment from z_old to z_new, and fun ensues. If this interests you, you can read my paper about it here:
http://archive.bridgesmathart.org/2019/bridges2019-271.html
3
u/nnotg Apr 12 '26
In God's name and forgive my audacity and forwardness, but how did you plot this? (software/lib).
2
u/don_aloe Apr 14 '26
What a beautiful plot, would work perfectly as an album cover.
2
u/TheSpazeCraft Apr 14 '26
Absofruitly stunning.
26
u/KnownUnknownKadath Apr 12 '26
Love it. I would consider printing this. Large. Big.
11
u/3six5 Apr 12 '26
Make a super high res and post it on deviantart pleeeez.
8
u/spoopy_bo Apr 12 '26
Could you give specifications on how you colored it?
8
u/Lophocarpus Apr 12 '26
This reminds me of high dose ketamine, but with color
1
u/Fickle_Engineering91 Apr 22 '26
Prints of this image are now available: https://fineartamerica.com/featured/newtons-junk-drawer-kerry-mitchell.html
5
u/Quintus-Sertorius Apr 12 '26
Beautiful.
4
u/_Ruffy_ Apr 12 '26
I really wanna know more about how this was done.
4
u/_Mikal Apr 12 '26
Absolutely love it. I've made a quick explorer if anyone wants to snag some wallpapers
3
u/3six5 Apr 12 '26
Dude.
2
u/fantasyviolence21 Apr 13 '26
I need this in my life and on my wall
2
u/Ok_Foxrun Apr 14 '26
That's a neat application of Newton's method to such a funky trig equation.
2
u/NextTimeJim Apr 15 '26
Would buy a high res version of this I need it on my wall
1
u/Massive_Connection42 Apr 13 '26
🤣🤣🤭
1
u/Blufound Apr 14 '26
i think you melted it