in reply to Re: Re: Re: (Golf) Mandelbrot Fractal
in thread (Golf) Mandelbrot Fractal
($m=$r*$r)+($n=$z*$z)>4 #becomes: $n=$z*$z,($m=$r*$r)>4
YuckFoo
Update: Thanks belg4mit, changed semi-colon to comma to work in demerphq's code which becomes:
map{$i=$_/20-1;map{$r=$j=$_/20-2.3;$z=$i;$b=$";$n=$z*$z,($m=$r*$r)>4 ?$b="+":($z=2*$r*$z+$i,$r=$m-$n+$j)for a..z;print$b}0..59;print$/}0..3 +9
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Re: (Golf) Mandelbrot Fractal
by belg4mit (Prior) on May 08, 2002 at 20:10 UTC |