Julia set: Difference between revisions
Content added Content deleted
Line 465: | Line 465: | ||
=={{header|Julia}}== |
=={{header|Julia}}== |
||
The following code build a ppm file named julia.ppm. So there is no need of an external library to create the final image. |
The following code build a ppm file named julia.ppm. So there is no need of an external library to create the final image of the Julia set. |
||
<lang julia> |
<lang julia> |
||
Line 487: | Line 487: | ||
</lang> |
</lang> |
||
We can then produce a |
We can then produce a 600x300 ppm image of the Julia set associated to the parameter ''-0.786+0.147i'' as follows. |
||
<pre>writeppm(julia(-0.786+0.147im))</pre> |
<pre>writeppm(julia(-0.786+0.147im))</pre> |