top of page
  • abates144

p5

Updated: Nov 7, 2023


function setup() {

createCanvas(400, 400);

}


function draw() {

background(120, 0, 200);


strokeWeight(10);

fill(0, 250, 0);

triangle(5, 5, 5, 100, 100, 5);

triangle(395, 5, 395, 100, 300, 5);

triangle(5, 395, 5, 300, 100, 395);

triangle(395, 395, 395, 300, 300, 395);


strokeWeight(5);

fill(20, 200, 150, 250);

ellipse(200, 200, 300, 250)


strokeWeight(5);

fill(0, 200, 0);

ellipse(200, 200, 100, 100)


strokeWeight(15);

fill(250, 0, 0, 150);

ellipse( 200, 200, 300, 350);


strokeWeight(0);

fill(10, 20, 200, 50);

quad(5, 5, 395, 5, 5, 395, 395, 395);

}

8 views0 comments

Recent Posts

See All

Comments


bottom of page