top of page
  • Writer's pictureAva S

In Process Sketch

Updated: Nov 9, 2023

https://editor.p5js.org/avasalts99/sketches/bhZm5vwYj


function setup() {

createCanvas(1280, 720);

stroke(122);

strokeWeight(5)

}


function draw() {

background(225);

for(let y=0; y<=height; y+=40){

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

{

fill(255,0,0,63);

rect(x,y,40,40);

}

}

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

{

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

{

fill(255,0,0,63);

ellipse(x,y,40,40);

}

}

if(keyIsPressed){

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

{

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

{fill(207)

ellipse(x,y,40,40);

}}

}

}


I want to add different color lines or circles that move over the image. I also am thinking about changing the color of the grey circles to a different color.

7 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...

Commentaires


bottom of page