Julia set: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added a comment to the OUTPUT section.)
Line 650: Line 650:


save("JuliaSet.png", colorim(img, "RGB"))</lang>
save("JuliaSet.png", colorim(img, "RGB"))</lang>

=={{header|Mathematica}}==
Mathematica provides built-in functions for Julia sets.
Generate the set of points for the -0.77 +0.22 I Julia set with step sizes of 0.01
<lang Mathematica>JuliaSetPoints[-0.77 + 0.22 I, "ClosenessTolerance" -> 0.01]</lang>
Visualize the same Julia set
<lang Mathematica>JuliaSetPlot[-0.77 + 0.22 I]</lang>


=={{header|Perl}}==
=={{header|Perl}}==