xxxxxxxxxx
69
//I attempted to create an abstraction of the audio visual //depiction of a supernova...
//...or any central explosion
function setup() {
createCanvas(600, 600);
background('#CFAFD5');
}
function draw() {
noStroke();
fill('#B188B8');
beginShape(TRIANGLES);
vertex(300,300);
vertex(500,350);
vertex(450,500);
endShape();
beginShape(TRIANGLES);
vertex(300,300);
vertex(100,350);
vertex(350,450);
endShape();
beginShape(QUADS);
vertex(300,300);
vertex(240,200);
vertex(290,100);
vertex(350,150);
endShape();
fill('#FFEB3BB7');
beginShape(TRIANGLES);
vertex(300,300);
vertex(100,220);
vertex(150,300);
endShape();
strokeWeight(7);
stroke('#47244E');
noFill();
circle(300,300,30);
arc(300,300,50,50,0,HALF_PI);
arc(300,300,100,100,QUARTER_PI, PI);
arc(300,300,150,150,HALF_PI,PI+HALF_PI);
arc(300,300,200,200,PI,TWO_PI);
arc(300,300,350,250,TWO_PI-QUARTER_PI, TWO_PI+HALF_PI);
arc(300,300,400,300,PI, PI+HALF_PI);
arc(300,300,450,350,QUARTER_PI,PI);
//attempted to create curves with curves
/*fill('#FFEB3B8C');
stroke(0);
strokeWeight(3);
curve(300, 400, 300, 80, 590, 200, 600, 600);*/
//attempted to create curves with bezier
/*bezier(350, 290,
350, 400,
450, 480,
500, 300,
550, 250,
400, 100);*/
}