charSetup()
charSetup()
needs to be called in setup()
. It does a number of things to prepare the sketch. Namely,
charWidth
and charHeight
resX
/resY
outBlock
It optionally takes in one argument, res
, which controls how big the text is. It is expressed just how fonts normally are, aka in ‘points’.
charSetup(res)
res
: optional - the font size of the text on the screen. Default value is 16.
Nothing