Time for an 2014 update…
This commit is contained in:
parent
372c577f83
commit
09687c4926
2520 changed files with 34227 additions and 7318 deletions
7
Task/Mandelbrot-set/Mathematica/mandelbrot-set-2.math
Normal file
7
Task/Mandelbrot-set/Mathematica/mandelbrot-set-2.math
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
cf = With[{
|
||||
mandel = Block[{z = #, c = #},
|
||||
Catch@Do[If[Abs[z] > 2, Throw@i]; z = z^2 + c, {i, 100}]] &
|
||||
},
|
||||
Compile[{},Table[mandel[y + x I], {x, -1, 1, 0.005}, {y, -2, 0.5, 0.005}]]
|
||||
];
|
||||
ArrayPlot[cf[]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue