Welcome to Fractal Forums

Fractal Art => Images Showcase (Rate My Fractal) => Topic started by: top-quark on April 23, 2015, 01:09:29 AM




Title: Happy Accidents
Post by: top-quark on April 23, 2015, 01:09:29 AM
(http://usefuljs.net/fractals/images/nova_z3-1_12R_c.png)

http://usefuljs.net/fractals/index.html?%7B%22current%22%3A%22nova%22%2C%22zoom%22%3A1%2C%22iterations%22%3A144%2C%22colourOptions%22%3A1%2C%22boundaryFraction%22%3A16%2C%22TERMS%22%3A%5B1%2C0%2C0%2C0%2C0%2C0%2C-1%2C0%5D%2C%22R%22%3A%5B12%2C0%5D%2C%22STARTZ%22%3A%5B%22c%22%2C0%5D%2C%22antialias%22%3Atrue%2C%22maxColours%22%3A25%2C%22colourAngle%22%3A270%2C%22zoomStack%22%3A%5B%5D%7D (http://usefuljs.net/fractals/index.html?%7B%22current%22%3A%22nova%22%2C%22zoom%22%3A1%2C%22iterations%22%3A144%2C%22colourOptions%22%3A1%2C%22boundaryFraction%22%3A16%2C%22TERMS%22%3A%5B1%2C0%2C0%2C0%2C0%2C0%2C-1%2C0%5D%2C%22R%22%3A%5B12%2C0%5D%2C%22STARTZ%22%3A%5B%22c%22%2C0%5D%2C%22antialias%22%3Atrue%2C%22maxColours%22%3A25%2C%22colourAngle%22%3A270%2C%22zoomStack%22%3A%5B%5D%7D)

(http://usefuljs.net/fractals/images/newton_z4-1_R14.png)

http://usefuljs.net/fractals/index.html?%7B%22current%22%3A%22newton%22%2C%22maxX%22%3A2.028985507246377%2C%22minX%22%3A-2.028985507246377%2C%22maxY%22%3A1.5217391304347827%2C%22minY%22%3A-1.5217391304347827%2C%22zoom%22%3A1.38%2C%22iterations%22%3A135%2C%22boundaryFraction%22%3A20%2C%22TERMS%22%3A%5B1%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C-1%2C0%5D%2C%22R%22%3A%5B14%2C0%5D%2C%22usePalette%22%3A%22negative%22%2C%22antialias%22%3Afalse%2C%22maxColours%22%3A50%2C%22colourAngle%22%3A300%2C%22zoomStack%22%3A%5B%5D%7D (http://usefuljs.net/fractals/index.html?%7B%22current%22%3A%22newton%22%2C%22maxX%22%3A2.028985507246377%2C%22minX%22%3A-2.028985507246377%2C%22maxY%22%3A1.5217391304347827%2C%22minY%22%3A-1.5217391304347827%2C%22zoom%22%3A1.38%2C%22iterations%22%3A135%2C%22boundaryFraction%22%3A20%2C%22TERMS%22%3A%5B1%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C-1%2C0%5D%2C%22R%22%3A%5B14%2C0%5D%2C%22usePalette%22%3A%22negative%22%2C%22antialias%22%3Afalse%2C%22maxColours%22%3A50%2C%22colourAngle%22%3A300%2C%22zoomStack%22%3A%5B%5D%7D)

(http://usefuljs.net/fractals/images/R=13.png)

http://usefuljs.net/fractals/index.html?%7B%22current%22%3A%22newton%22%2C%22maxX%22%3A4.2004200420042%2C%22minX%22%3A-4.2004200420042%2C%22maxY%22%3A3.1503150315031507%2C%22minY%22%3A-3.1503150315031507%2C%22zoom%22%3A0.6666%2C%22iterations%22%3A139%2C%22TERMS%22%3A%5B1%2C0%2C0%2C0%2C0%2C0%2C2%2C0%2C-2%2C0%5D%2C%22R%22%3A%5B13%2C0%5D%2C%22usePalette%22%3A%22phoenix%22%2C%22antialias%22%3Atrue%2C%22maxColours%22%3A24%2C%22zoomStack%22%3A%5B%5D%7D (http://usefuljs.net/fractals/index.html?%7B%22current%22%3A%22newton%22%2C%22maxX%22%3A4.2004200420042%2C%22minX%22%3A-4.2004200420042%2C%22maxY%22%3A3.1503150315031507%2C%22minY%22%3A-3.1503150315031507%2C%22zoom%22%3A0.6666%2C%22iterations%22%3A139%2C%22TERMS%22%3A%5B1%2C0%2C0%2C0%2C0%2C0%2C2%2C0%2C-2%2C0%5D%2C%22R%22%3A%5B13%2C0%5D%2C%22usePalette%22%3A%22phoenix%22%2C%22antialias%22%3Atrue%2C%22maxColours%22%3A24%2C%22zoomStack%22%3A%5B%5D%7D)

The generalized form of Newton's method uses something called the relaxation parameter to increase or decrease the step size in order to improve the convergence rate. This value should be close to one and tuned for the function you're trying to solve since random values are liable to make the method slower rather than faster. If you use significantly larger values (positive or negative), Newton's method completely fails to converge but you can still end up with something interesting.

The black areas are where iteration stopped due to the denominator being zero. For every other pixel iteration stops due to the method producing NaNs; these happen when numerator and denominator are both infinity.

Click on the links for live versions that you can play with.