hi all
how to text array elements i have try but i could not do it looks random and wrong code
any help
thanks in advance
void setup () {
size ( 800 , 800 );
}
void draw () {
fill(0);
int[] x = {
50, 61, 83, 69, 71, 50, 29, 31, 17, 39,
50, 61, 83, 69, 71, 50, 29, 31, 17, 39,
50, 61, 83, 69, 71, 50, 29, 31, 17, 39,
50, 61, 83, 69, 71, 50, 29, 31, 17, 39,
50, 61, 83, 69, 71, 50, 29, 31, 17, 39,
50, 61, 83, 69, 71, 50, 29, 31, 17, 39,
50, 61, 83, 69, 71, 50, 29, 31, 17, 39,
676, 61, 83, 69, 71, 50, 29, 31, 17, 39
};
fill(0);
for (int i = 0; i < x.length; i++) {
textSize(20);
text(x[i],x[i]*12,i*10);
}
}