Sunday, 29 November 2015

On 23rd & 24th November 2015, we had learn how to create a line that are connected with shape.

void setup ()
{
  size(200, 200);
  strokeWeight(5);
  background(#35EA0E);
}

void draw ()
{
  line(0, 180, 200, 180);
  line(30, 50, 100, 180);
  ellipse(20, 30, 30, 50);
}

That are the coding that we used to create the line that are connected with shape.


No comments:

Post a Comment