top of page
  • Writer's pictureAva S

P5 hw

function setup() {

createCanvas(1280, 720);

}


function draw() {

background(0,0,225);

for(let y=0; y<height; y+=50)

{

for(let x=0; x<width;x+=40)

{fill(225,204,0);

ellipse(x,y,40,40);

rect(50,50,200,600);

rect(300,50,200,600);

rect(600,50,200,600);

rect(900,50,200,600);

for(let y=0; y<height; y+=80)

{ for(let x=0; x<width; x+=80)

rect( x,y, 40,40);

}

}

}

}


3 views0 comments

Recent Posts

See All

Typographic Hierarchy

Typographic hierarchy shows readers what text is the most important and what you should focus on. There are many things that show...

Comments


bottom of page