int b=color(0); int w=color(255); void setup(){ size(800, 600); strokeWeight(2); stroke(255, 3, 3); //bright red } void draw(){ background(255); //white background if(mousePressed==true){ //if mouse is pressed the background will turn black background(b); } else{ background(w); } fill(255, 3, 3); //bright red stroke(255, 3, 3); //bright red ellipse(275, 250, 300,300); //circle stroke(255,3,3); quad(0, 200,0, 130, 230, 265,250, 295); //sun ray 1 starting from ul corner quad(0, 75, 0, 0, 195, 200, 195, 230); quad(90, 0, 165, 0, 250, 195, 240, 195); quad(245, 0, 300, 0, 285, 260, 265, 260); quad( 370, 0, 455, 0, 290, 280, 300, 210); quad(525, 0, 595, 0, 290, 280, 270, 280); quad(650, 0, 785, 0, 320, 280, 280, 280); quad(800, 60, 800, 200, 350, 300, 300, 300); quad(800, 300, 800, 420, 200, 300, 350, 300); quad(800, 480, 800, 590, 250, 310, 280, 310); quad( 700, 600, 540, 600, 250, 320, 250, 320); quad( 450, 600, 300, 600, 250, 350, 260, 350); quad( 200, 600, 80, 600, 250, 250, 250, 250); quad(0, 550, 0, 410, 245, 245, 225, 265); quad(0, 360, 0, 260, 280, 265, 280, 225); }