Hello,
some of the letters are above other letters. How to get one letter behind another letter without overlapping?
Thanks in advance!
char alphabet = 'a';
char nextChar;
float chatX = 20;
int spacing;
void setup() {
size(500, 500);
spacing = width/45;
}
void draw() {
background(0);
float nextChatX = chatX;
for ( int i = 0; i < 26; i++) {
nextChar = char(alphabet + i);
textSize(24);
fill(random(255), random(255), random(255), random(255));
noLoop();
text( nextChar, (nextChatX) + (spacing * i), 25);
}
}