This code uses nested for
loops to draw a grid of random letters.
The code uses the char
type, which stores an individual letter as an ASCII code. In other words, it stores a letter as a number. This allows us to get a random letter by doing this:
This is a companion discussion topic for the original entry at https://happycoding.io/examples/processing/for-loops/letters