X-Git-Url: http://git.itanic.dy.fi/?p=mandelbrot;a=blobdiff_plain;f=mandelbrot.c;fp=mandelbrot.c;h=be706ebc1d15a01002c41f1943185afafabdd172;hp=35dc6c64b0405cd64ce4e0afa540a2201203bbf7;hb=67d26aaed387f95b62a74ce80d2b0c43e7212c3d;hpb=bb75ed1d012e139423d99e179d9680513273f9f8 diff --git a/mandelbrot.c b/mandelbrot.c index 35dc6c6..be706eb 100644 --- a/mandelbrot.c +++ b/mandelbrot.c @@ -53,7 +53,8 @@ int draw_mandelbrot(struct SDL_Surface *screen, double x1, double x2, putpixel(screen, xs, ys, 255, 255, 255); else putpixel(screen, xs, ys, - iteration, 0, 0); + iteration * 8, iteration, + iteration / 4); } SDL_Flip(screen);