normalize
Maps a number from one range to a value between 0 and 1
normalize(
value,
start,
stop
)
Maps a number from one range to a value between 0 and 1
Syntaxe
normalize(PI, 0, TAU) // returns 0.5
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
value | yes | - | ||
start | yes | - | ||
stop | yes | - |