Mandelbrot set: Difference between revisions
Content deleted Content added
m →Normal Map Effect, Mercator Projection and Perturbation Theory: Make blocking artifacts recognizable at large zoom depths for 64-bit floating point numbers. |
Basicgames (talk | contribs) |
||
Line 4,751: | Line 4,751: | ||
=={{header|Craft Basic}}== |
=={{header|Craft Basic}}== |
||
<syntaxhighlight lang="basic"> |
<syntaxhighlight lang="basic">define max = 15, w = 640, h = 480 |
||
define max = 15, w = 640, h = 480 |
|||
define py = 0, px = 0, sx = 0, sy = 0 |
define py = 0, px = 0, sx = 0, sy = 0 |
||
define xx = 0, xy = 0 |
define xx = 0, xy = 0 |
||
bgcolor 0, 0, 0 |
bgcolor 0, 0, 0 |
||
cls |
cls graphics |
||
alert "mandelbrot" |
|||
fill on |
fill on |
||
Line 4,798: | Line 4,795: | ||
let py = py + 4 |
let py = py + 4 |
||
loop py < h |
loop py < h</syntaxhighlight> |
||
fgcolor 255, 255, 0 |
|||
print "done" |
|||
end</syntaxhighlight> |
|||
=={{header|D}}== |
=={{header|D}}== |