Jump to content

Mandelbrot set: Difference between revisions

No edit summary
Line 26:
}
 
/* points in the set are coloured as white, others are coloured black. */
colour = (i == MAX_ITERATIONS ? 1255 : 0);
 
DrawPixel(x, y, colour, colour, colour);
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.