### Revisiting the 3D Newton

• 19 Replies
• 1061 Views

0 Members and 1 Guest are viewing this topic.

#### gforce

• Fractal Freshman
• Posts: 8

#### Re: Revisiting the 3D Newton

« Reply #15 on: July 25, 2018, 03:31:06 AM »
I have tried another 4D variant (using a 2x2 matrix of real numbers), but the result was too weird.

I would be interested in this variation, I'd be even more interested in that variant with the all the bells and whistles you've added to JIT_gnj_RealPowNewton_04. It might not look good with simple transformations like rotation but i think it will have potential for hybrid formulas

#### FractalDave

• Fractal Friend
• Posts: 14

#### Re: Revisiting the 3D Newton

« Reply #16 on: August 09, 2018, 01:03:16 PM »
To produce something really generic one could simply allow the user to define f(h) and g(h) (for 3D h=a+bi+cj) where the "Newton" is performed as:
Code: [Select]
init:  h = 0 or value from coord for julia  oldh = 0  a = value from coord for mandy or constant for julialoop:  oldh = h  h = (f(h) - a) / (g(h) + user const)Obviously for proper Newtons g(h) should be the derivative of f(h), in particular it should be 1 degree less - but then again why stick to either ?
In this case allowing the option of either divergent or convergent bailout or indeed both might be useful.
The meaning and purpose of life is to give life purpose and meaning.

#### Sabine62

• Fractal Friar
• Posts: 124

#### Re: Revisiting the 3D Newton

« Reply #17 on: August 13, 2018, 09:26:01 AM »
Have tried to port this to Fragmentarium. Has been so long that I have done anything with fractals and still completely lacking any understanding of math, I am so happy that the thing shows anything at all. Have stolen the DE from Mandelbulb, and no optimization at all as will have to read up on that AGAIN after all this time  Neither have any idea what should go into the loop and what not etc etc, it's all just throwing gannjondals newton blindly at fragm, but here it is for your enjoyment (or dispair  )Julia does blow up the whole thing, but added rotations which give really nice results. Also quite some fuzz, so lots  and lots of room for improvement. Oh well...Hope I get some more time to look at it.

Complete .frag in zip below
« Last Edit: August 13, 2018, 09:56:21 AM by Sabine62 »

#### mclarekin

• Fractal Furball
• Posts: 245

#### Re: Revisiting the 3D Newton

« Reply #18 on: August 13, 2018, 09:59:15 AM »
looks good.

Thanks for the frag. As usual I have learnt a new thing or two about coding and formulas from looking at it

#### Sabine62

• Fractal Friar
• Posts: 124

#### Re: Revisiting the 3D Newton

« Reply #19 on: August 13, 2018, 10:19:39 AM »
Thanks, mclarekin, does look newtonesque, doesn't it Did some minor optimization and updated the frag. Not sure if it will make a big difference though speedwise.

### Similar Topics

###### Newton (gannjondal)

Started by Sabine62 on Fractal Image Gallery

0 Replies
23 Views
August 15, 2018, 04:28:09 PM
by Sabine62
###### Newton's Garden

Started by gannjondal on Fractal Image Gallery

4 Replies
175 Views
April 17, 2018, 11:22:45 PM
by spain2points
###### Newton-Raphson zooming

Started by gerrit on Fractal Mathematics And New Theories

57 Replies
1884 Views
December 12, 2017, 05:42:52 AM
by gerrit
###### Newton Folded - Towards Dragonflies

Started by gannjondal on Fractal Image Gallery

0 Replies
55 Views
April 02, 2018, 06:30:55 PM
by gannjondal
###### Neat variation of Newton's method

Started by Ebanflo on Share a fractal

1 Replies
177 Views
April 17, 2018, 04:34:13 PM
by mrrudewords