tut­o­r­i­a­l­s por­t­f­o­l­i­o­s

by yuling dong
  • Show Sketch
/** @peep sketchcode */
//hello karen
size(300,300)
background(178,248,250);
fill(118,172,208);
noStroke()
rectMode(CENTER);
rect(150,200,80,100);
//top
fill(249,134,105)
noStroke()
triangle(90,160,210,160,150,100);
//door
fill(135,107,80)
rect(160,230,25,40);
//window
fill(255,255,255);
rect(130,185,20,20);
//cloud
fill(255);
noStroke();
beginShape();
vertex(80,30);
bezierVertex(80,30,100,5,140,30);
bezierVertex(140,30,120,60,80,30);
endShape();
//seconf cloud
beginShape();
vertex(160,30);
bezierVertex(160,30,165,5,200,30);
bezierVertex(200,30,180,50,160,30);
endShape();
//third;
beginShape();
vertex(220,30);
bezierVertex(220,30,230,8,250,30);
bezierVertex(250,30,250,45,220,30)
endShape()

Comments

Nobody has said anything yet.