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.
currentGradient
colourMapper(f)
f: Number between 0 and 1.
f
Character from currentGradient.