ar5

colourMapper()

Description

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.

Syntax

colourMapper(f)

f: Number between 0 and 1.

Returns

Character from currentGradient.