WIP julia
This commit is contained in:
parent
880370c5e6
commit
a0b4e19007
8 changed files with 10 additions and 6 deletions
|
|
@ -66,8 +66,7 @@ let generatePixel x y height width zoom rMax maxIter =
|
|||
let rec findI i z =
|
||||
if i >= maxIter then i
|
||||
else if Complex.Abs(z) >= (float rMax) then i
|
||||
//else findI (i+1) (z*z+c)
|
||||
else findI (i+1) (Complex.Add(c, (Complex.Multiply(z, z))))
|
||||
else findI (i+1) (c+z*z)
|
||||
|
||||
colorMap (findI 0 (Complex(0.0, 0.0))) maxIter
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue