Mandelbrot set: Difference between revisions
m
→Normal Map Effect, Mercator Projection and Perturbation Theory: Duplicate source references removed.
m (→Normal Map Effect, Mercator Projection and Deep Zoom Images: Used math tags and shortened explanation for rebasing.) |
m (→Normal Map Effect, Mercator Projection and Perturbation Theory: Duplicate source references removed.) |
||
Line 7,958:
===Normal Map Effect, Mercator Projection and Perturbation Theory===
This is a translation of the corresponding Python section: see there for more explanations. The Mandelbrot set is represented by distance estimation and normal maps using complex matrices (cf. Arnaud Chéritat: [https://www.math.univ-toulouse.fr/~cheritat/wiki-draw/index.php/Mandelbrot_set#Normal_map_effect ''Normal map effect'']
<syntaxhighlight lang="julia">using Plots
gr(aspect_ratio=:equal, axis=true, ticks=true, legend=false, dpi=200)
Line 8,045:
savefig("Mercator_Mandelbrot_zoom.png")</syntaxhighlight>
For deep zoom images it is sufficient to calculate a single point with high accuracy. A good approximation can then be found for all other points by means of a perturbation calculation with standard accuracy. Rebasing is used to reduce glitches. See [https://
<syntaxhighlight lang="julia">using Plots
gr(aspect_ratio=:equal, axis=true, ticks=true, legend=false, dpi=200)
|