All Shapes to Draw with

This shows all the shapes that you can use – a Rectangle, Triangle and Ellipse


size(640, 360);

background(0);
noStroke();

fill(204);
triangle(18, 18, 18, 360, 81, 360);


fill(102);
rect(81, 81, 63, 63);


fill(204);
quad(189, 18, 216, 18, 216, 360, 144, 360);


fill(255);
ellipse(252, 144, 72, 72);

fill(204);
triangle(288, 18, 351, 360, 288, 360);

fill(255);
arc(479, 300, 280, 280, PI, TWO_PI);


Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s