int x_1 = 0,y_1 = 0;
int x_2 = 0,y_2 =0;
int x_3 = 0,y_3 =0;
int x_4 = 0,y_4 =0;
int x_5 = 0,y_5 =5;
int x_6 = 0,y_6 =5;
int x_7 = 0,y_7 =5;
int size_1 = 0;
int size_2 = 0;
int size_3 = 0;
int size_4 = 0;
int size_5 = 0;
int size_6 = 0;
int size_7 = 0;
void setup()
{
size(500,500);
background(122,122,122);
x_1 = (int)random(450);
y_1 = (int)random(450);
size_1 = int(random(35))+10;
x_2 = (int)random(450);
y_2 = (int)random(450);
size_2 = int(random(35))+10;
x_3 = (int)random(450);
y_3 = (int)random(450);
size_3 = int(random(35))+10;
x_4 = (int)random(450);
y_4 = (int)random(450);
size_4 = int(random(35))+10;
x_5 = (int)random(450);
y_5 = (int)random(450);
size_5 = int(random(35))+10;
x_6 = (int)random(450);
y_6 = (int)random(450);
size_6 = int(random(35))+10;
x_7 = (int)random(450);
y_7 = (int)random(450);
size_7 = int(random(35))+10;
}
void draw()
{
background(122,122,122);
textSize(size_1);
text("JS",x_1,y_1);
textSize(size_2);
text("PHP",x_2,y_2);
textSize(size_3);
text("C++",x_3,y_3);
textSize(size_4);
text("JAVA",x_4,y_4);
textSize(size_5);
text("RUBY",x_5,y_5);
textSize(size_6);
text("GO",x_6,y_6);
textSize(size_7);
text("PYTHON",x_7,y_7);
}
|