Song use Function
//FAV Song function
//int posX=0;//fill value to move(X)
//int posY=0;//fill value to move(Y)
void setup() {
size(500, 500);
background(0);//black
symbol(0,0);
}
void symbol(int posX,int posY){//function
//background's circle
stroke(255);//black line
strokeWeight(14);//thick line
fill(0);//line's color
ellipse(250+posX, 250+posY, 250, 250);//big circle with nothing inside of it
//Linkin Park symbol
line(260+posX, 125+posY, 185+posX, 290+posY);
line(185+posX, 290+posY, 325+posX, 290+posY);
line(325+posX, 290+posY, 275+posX, 180+posY);
line(275+posX, 180+posY, 195+posX, 360+posY);
//open the circle
stroke(0);
line(258+posX, 100+posY, 238+posX, 140+posY);
line(215+posX, 350+posY, 200+posX, 380+posY);
//title
fill(255);
textSize(40);
textAlign(LEFT);
text("LINKIN PARK", 135+posX, 450+posY);
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น