charFill()
charFill()
changes the inside colour of any shapes drawn. Analagous to fill()
in p5. If col
is a float between 0 and 1, it will use colourMapper()
to determine the corresponding character. Otherwise if col
is a character, it will fill shapes with that character directly. Beware notAllowedCharacters
if using direct characters.
charFill(col)
col
: Number between 0 and 1 or character
Nothing