Assignment 1

This assignment is to be able to draw a smiley – or unhappy face with processing.

You can use colours or grey – you choose.

I have included my smiley face as an example to get you started – but lets see what you can do with it

There is a new command here – strokeWeight(number); = where the number is the thickness of the line you draw.


size (500, 500);
  background(130);
  fill(233, 224 , 71);
  strokeWeight(7);
  ellipse(250, 250, 300 ,300);
  fill(0);
  ellipse(200, 210 , 30, 70);
  fill(0);
  ellipse(300, 210 , 30, 70);
  fill (255);
  bezier(150, 295, 200, 370, 300, 370, 350, 295);
  line(150, 295, 350, 295);
  line(160, 180, 210, 135);
  line(340, 100, 290,75 );

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