TESTER

map

map(value, start1, stop1, start2, stop2)

Re-maps a number from one range to another

Syntaxe

map(5, 0, 10, 0, 100) // returns 50

Arguments

NameRequiredDefaultDescription
valueyes-
start1yes-
stop1yes-
start2yes-
stop2yes-