colourMapper()
colourMapper()
takes in a float between 0 and 1 value and returns the corresponding character from currentGradient
. 0 is the darkest, 1 is the lightest.
colourMapper(f)
f
: Number between 0 and 1.
Character from currentGradient
.