- Show Code
- Show Sketch
/** @peep sketch */
/** @peep sketchcode */
//this should be a triangle
size(400, 400);
fill(240, 60, 360);
triangle(200, 40, 100, 280, 300, 280);
//This should be an X that overlaps three triangles//
stroke(127, 0, 0);//this is the stroke
line(40, 120, 360, 280);//this is the line from the top left to the bottom right
line(360, 120, 40, 280);//this is the line from the top right to the bottomr left
line(40, 40, 320, 40);//this is the line on laying on top of the pillars
line(40, 280, 360, 280);//this is the line on the bottom of the structure
//These are parralel rectangles on both sides of the triangle
fill(100, 160, 80);
rect(40, 40, 40, 240);
rect(320, 40, 40, 240);
//This will be the quad diamond underneath
fill(120, 120, 120);
quad(200, 280, 360, 340, 200, 400, 40, 340);
Nothing in the gallery yet!
Comments
Nobody has said anything yet.