Here you go.
Check the attached screenshot, please.
void setup() {
size(200,200);
}
void draw() {
background(200);
fill(0);
int i, j;
for(i=1; i <= 10; i++) {
for(j=1; j <= i; j++) {
text("*", i*10, j*10);
}
}
}

Here you go.
Check the attached screenshot, please.
void setup() {
size(200,200);
}
void draw() {
background(200);
fill(0);
int i, j;
for(i=1; i <= 10; i++) {
for(j=1; j <= i; j++) {
text("*", i*10, j*10);
}
}
}
