beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

MapRangeArray Op

Ops.Array.MapRangeArray


MapRangeArray
Namespace: Ops.Array

Op author: stephan

Maps values in an Array from one range into another.


summary (oneliner)



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

array (Array)

the array of values you want to map


Input Range

old min (Number)

The minimum of the old range


old max (Number)

The maximum of the old range


Output Range

new min (Number)

The minimum of the new range


new max (Number)

The maximum of the new range


Easing index (integer /Number)

Outputs

result (Array)

Array of newly mapped values


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

MapRangeArray example

Open Example In Editor


Youtube Video Tutorial

Patches using MapRangeArray