SketchBook

2022

var centerXa;
var centerXb;
var centerXc;
var centerXd;
var centerXe;
var centerXf;
var centerYa;
var centerYb;
var centerYc;
var centerXz;


function setup() {
createCanvas(1000,1000);
centerXa = 150;
centerXb = 350;
centerXc = 300;
centerXd = 400;
centerXe = 130;
centerXf = 100;
centerYa = 1000;
centerYb = 1000;
centerYc = 1000;
centerXz = 0;
centerXy =0
centerXx =0
centerYd =1000

}

function draw(){
background(105,105,105);

centerXa = centerXa + 1;
centerXb = centerXb - 1;
centerXc = centerXc - 1;
centerXd = centerXd + 1;
centerXe = centerXe + 1;
centerXf = centerXf + 1;
centerYa = centerYa - 1;
centerYb = centerYb + 100;
centerXz = centerXz + 0.5
centerYc = centerYc -0.8
centerYd = centerYd -0.6



fill(105,105,105)
stroke(205,random(80,95),random(30,250));
strokeWeight(30);
ellipse(130,170,centerXa);

fill(225,225,225)
stroke(225,225,225)
rect(127,270,6,30);

fill(225,225,225)
stroke(225,225,225)
rect(70,300,170,10)

fill(225,225,225)
stroke(225,225,225)
rect(300,150,100,5)

fill(225,225,225);
stroke(225,225,225);
ellipse(410,300,90);

fill(105,105,105);
stroke(105,105,105);
ellipse(410,300,35);

fill(105,105,105)
stroke(random(180,205),92,random(50,200));
strokeWeight(30);
triangle(centerXb,170,centerXc,250,centerXd,250);

fill(225,225,225)
stroke(225,225,225)
rect(455,100,5,110)

fill(225,225,225);
stroke(225,225,225);
ellipse(580,200,90);
fill(105,105,105);
stroke(105,105,105);
ellipse(580,200,35);

fill(225,225,225)
stroke(225,225,225)
rect(630,200,50,5)
fill(225,225,225)
stroke(225,225,225)
rect(680,100,5,250)

fill(225,225,225)
stroke(225,225,225)
rect(300,450,50,5)
quad(370,450,380,450,365,630,355,630);

fill(225,225,225)
stroke(225,225,225)
rect(390,500,50,5)

fill(225,225,225)
stroke(225,225,225)
rect(460,450,5,150)
rect(510,450,5,250)

fill(225,225,225);
stroke(225,225,225);
ellipse(650,450,90);
fill(105,105,105);
stroke(105,105,105);
ellipse(650,450,35);

fill(225,225,225)
stroke(225,225,225)
rect(770,350,5,150)

fill(105,105,105)
stroke(205,random(0,92),random(0,200));
strokeWeight(30);
rect(650,540,centerXe,centerXf);

fill(224,255,255)
stroke(224,255,255)
rect(0,centerYa,1000,centerYb)

textSize(200);
stroke(0, 200, 255);
strokeWeight(5);
noFill();
text("2022",100, centerYc)

textSize(100);
stroke(0, 200, 255);
strokeWeight(5);
noFill();
text("Happy New Year",100,centerYd)



}