Remap

This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.

Linearly maps an input value from one range to another. The ranges may be reversed.

For example, 0.5 in the input range [0, 1] would map to 0 in the output range [-180, 180].

Interface

Inputs

ParameterDetailsPossible Types
Value

The value to be mapped between ranges.

Primary Input

Number[]
Number
Input Min

The lower bound of the input range.

Default: 0

Number[]
Number
Input Max

The upper bound of the input range.

Default: 1

Number[]
Number
Output Min

The lower bound of the output range.

Default: 0

Number[]
Number
Output Max

The upper bound of the output range.

Default: 1

Number[]
Number
Clamped

Whether to constrain the result within the output range instead of extrapolating beyond its bounds.

Default: false

Bool[]
Bool

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Number
Number[]