// Exploring Mandelbrot (my first applet) // by Marcello Falco // falco.phd@tiscali.it // // realized using the awesome Processing Programming Environment (thank you guys) // http://processing.org color col,init; int iter=32; int xint,yint; double delta; double xx1 = -2.0; double yy1 = 1.25; double xx2= 0.5; double yy2= -1.25; double xi,yi,xxi,yyi,xxf,yyf; boolean flag = true; boolean end = true; BImage cp; void setup() { size(256,256); background(0,0,0); } void loop() { init=color(255,255,255); if (flag && end) { if (xx1 iter) { col=color(0,0,0); } else { c=int((i-1)*255.0/(iter-1.0)); col=color(255-c,255-c,c); } }