Mandelbrot set: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 4,964: | Line 4,964: | ||
=={{header|Processing}}== |
=={{header|Processing}}== |
||
<lang Prolog> |
<lang Prolog> |
||
// Following code is a zoomable Mandelbrot. |
|||
// Of course, you want to click on an interesting area |
|||
// with contrast and more colors to zoom in. |
|||
double x, y, zr, zi, zr2, zi2, cr, ci, n; |
double x, y, zr, zi, zr2, zi2, cr, ci, n; |
||
double zmx1, zmx2, zmy1, zmy2, f, di, dj; |
double zmx1, zmx2, zmy1, zmy2, f, di, dj; |
||
Line 5,023: | Line 5,027: | ||
i = 0; |
i = 0; |
||
j = 0; |
j = 0; |
||
}</lang> |
}</lang>'''Examples''' :<BR> |
||
https://drive.google.com/open?id=0B8HXpZALHgx-WWV3dXJwRXdvbWs |
|||
[[FILE:MandelbrotProcessing1.jpg] |
|||
https://drive.google.com/open?id=0B8HXpZALHgx-MktORkZKelFBbkU |
|||
=={{header|Prolog}}== |
=={{header|Prolog}}== |