Project 3 update 1
let x=280;
let y=-100;
let diameter=380
function setup() {
createCanvas(1280, 720);
background(220);
fill(100);
for(let y=0; y<=height; y+=40)
{
for(let x=0;x<=width; x+=40)
{
fill(255,140, 15)
ellipse(x,y,40,40)
}
}
fill(100)
quad(0,720, 200,600, 1000,600, 1280,720 )
fill(190)
quad(0,720, 200,600, 200,0, 0,0)
quad(1000,600, 1280,720, 1280,0, 1000,0)
triangle(700,650, 500,350, 400,650)
fill(120)
triangle(500,350, 700,650, 800,600)
fill(160)
triangle(500,350, 600,100, 700,517)
}
function draw() {
}
Comments
Post a Comment