Range
Linearly remap values from one range to another, with clamp and offset. With nothing wired in, it generates an evenly spaced number sequence; the remap is linear, so easing comes from a Curve node.
What it does
Range remaps a number, or a list of numbers, from one range into another with a straight linear map. There is no built-in easing: min-to-max scaled to min-to-max, with an optional clamp and an additive offset applied afterwards.
Leave Source disconnected and Range switches modes. Instead of remapping it generates a fresh sequence of evenly spaced numbers from Minimum to Maximum, with Count values in the sequence.
When to use it
A value in one range scaled into another, for example a sensor reading 0–255 into 0–1: wire it into Source and set the two ranges
An evenly spaced list of numbers: a count, a set of offsets, sample positions. Leave Source disconnected and set Minimum, Maximum and Count
Normalising, clamping or offsetting a value in one step rather than chaining separate nodes
Eased remapping. Range itself stays linear; feed its output through a Curve node for ease-in/out or custom shaping
| Parameter | Type | Default |
|---|---|---|
source | OneOf([Number, NumberArray]) | — |
source_min | Number | 0 |
source_max | Number | 1 |
minimum | Number | 0 |
maximum | Number | 1 |
count | Number | 10 |
clamp | Boolean | true |
offset | Number | 0 |
Gotchas
Clamp is on by default, keeping remapped values inside [Minimum, Maximum]. Turn it off to let the linear map extrapolate past the output range for values outside the source range.
The remap is strictly linear. For an S-curve or a custom ease, send the result through a Curve node afterwards.
Count only matters when Source is disconnected. With something wired into Source, each incoming value is remapped instead and Count is ignored.
Worked example
Add a Range node with nothing wired into Source. It generates a sequence: set Count for how many values, and Minimum/Maximum for the span.
Wire a value into Source to switch modes: set Source Min/Max to the expected input range, and Minimum/Maximum to the range required out.
Use Offset to nudge the remapped result up or down, and toggle Clamp depending on whether out-of-range inputs should extrapolate.