Another method for calculating Julia sets

_____________________________________
Back to Robert's Math Figures
_____________________________________
Normally a Julia set is calculated by iterating

[z --> z^2 + c ]

for a particular value of c (in this example, i). Alternatively we can iterate the inverse mapping

[z --> +/- Sqrt[z-c] ]

randomly picking either the positive or negative root.

[Julia set with c = Sqrt[-1]]

inverseJulia[z_] :=  Sqrt[z - I] /; Random[] < 0.5;

inverseJulia[z_] := -Sqrt[z - I];

complexPoints = NestList[inverseJulia, 0.1 + 1.1 I, 10000];

ListPlot[complexPoints /. Complex[a_, b_]->{a, b},
	AspectRatio -> Automatic];

Designed and rendered using Mathematica 3.0 for the Apple Macintosh.

[Privacy Policy] [Terms of Use]

_____________________________________
Home || The Math Library || Quick Reference || Search || Help 
_____________________________________

© 1994-2014 Drexel University. All rights reserved.
http://mathforum.org/
The Math Forum is a research and educational enterprise of the Drexel University School of Education.The Math Forum is a research and educational enterprise of the Drexel University School of Education.

Copyright © 1996/7 Robert M. Dickau