Week 2 Tut­o­r­i­a­l 3

by Giselle Gray
  • Show Sketch
/** @peep sketchcode */
size(400,400);
background(100,20,500);//made the background blue like the sky
stroke(290,200,240);//making the stroke pink
strokeWeight(5);//making the line thicker
fill(255,250,205);//changing the colour to yellow
ellipse(400,0,100,100);//making a circle in the corner of the canvas, so only a quarter can be seen
line(300,40,250,40);//creating 3 horizontal lines
line(350,50,290,50);
line(375,60,350,60);
 
line(310,60,250,40);//creating 3 lines that are diagonal 
line(360,70,290,50);
line(385,80,350,60);
 
fill(173,255,47);//making a rectangle green
rect(130,300,100,600);//creating a rectangle
stroke(15,10,200);//changing colour of stroke
fill(173,255,47);
bezier(170,225,10,170,170,170,170,10);//creating a bezier
stroke(125,140,100);//changing colour of stroke
bezier(170,225,10,170,170,170,200,90);//creating a bezier
stroke(305,10,500);//changing colour of stroke
bezier(170,225,10,170,170,170,300,200);//creating a bezier
strokeWeight(10);//creating a thick line
line(170,225,175,300);

Comments

Nobody has said anything yet.