Anonymous user
Mandelbrot set: Difference between revisions
m
→{{header|C}}: fixed (was 0 -> x0 -> y0 !)
(→{{header|C}}: adapted code to use raster gfx ops tasks, fixed eye-jumped bugs, but running it I cant see the mandelbrot set, so needing review; hopefuly not my fault while fixing;)) |
m (→{{header|C}}: fixed (was 0 -> x0 -> y0 !)) |
||
Line 4:
=={{header|C}}==
This code uses functions from category [[:Category:Raster graphics operations| Raster graphics operations]].
Line 34 ⟶ 30:
while (((x0*x0 + y0*y0) <= 4.0) && (i < MAX_ITERATIONS)){
xtemp = x0*x0 - y0*y0 + cr;
y0 = 2*x0*
x0 = xtemp;
i++;
|