xxxxxxxxxx
/*-----------------------------
Robot Butterfly
1/18/2017
By Marcos Ye
ye.382@osu.edu
1/19/2017
project URL
-----------------------------*/
size(1000,1000);//canvas size
background(128,128,0);//background color
rectMode(CENTER);//make a rectangle from the center
//noFill();//no color
stroke(255);//stroke color
strokeWeight(3);//stroke size
rect(500,500,50,50);//size and position of rectangle
noFill();
stroke(0);
ellipse(500,500,100,100);
noFill();
stroke(255);
quad(380, 310, 650, 350, 690, 630, 300, 660);
stroke(255,0,255);
noFill();
beginShape();
curveVertex(720, 160);
curveVertex(350, 410);
curveVertex(650, 790);
curveVertex(860, 170);
curveVertex(320, 760);
curveVertex(320, 1100);
endShape();
stroke(0);
//noFill();
rect(500,500,500,500);
stroke(255);
noFill();
ellipse(500,500,600,600);
stroke(255,0,255);
noFill();
beginShape();
curveVertex(160, 720);
curveVertex(410, 350);
curveVertex(790, 650);
curveVertex(170, 860);
curveVertex(760, 320);
curveVertex(1100, 320);
endShape();
stroke(255,0,255);
fill(255,0,255);
ellipse(500,600,50,50);
stroke(255,0,255);
fill(255,0,255);
ellipse(600,500,50,50);