Skip to main content

remap

Remap a number from one range to another

Written by Holly Conrad Smith
Updated over 2 weeks ago

A remap function takes a value from one range and maps it proportionally to another range.

Think of it like converting:

  • A number from a temperature scale (say, 0–100°C) to a color scale (say, 0–255 RGB).

  • A height value from a building layer (0–200 meters) to a visual extrusion in 3D (0–50 units). </aside>

Inputs

Name

Abbreviation

Type

Access

Description

Value

V

Number

Item

The value to remap

From A

a1

Number

Item

The minimum of the current range

From B

a2

Number

Item

The maximum of the current range

To A

b1

Number

Item

The minimum of the target range

To B

b2

Number

Item

The maximum of the target range

Outputs

Name

Abbreviation

Type

Access

Description

Remapped

R

Number

Item

The remapped value

How to

  1. Feed in a number for the value

    1. These could be the a numeric result of another node

    2. Or, you can use a number node

    3. Or, you can type numbers into the boxes

    4. If you need to process multiple numbers in a list, use the map node

  2. Feed in the min and max of the current range

  3. Feed in the min and max of the target range

  4. The result is the remapped value

Why is this useful?

In parametric design, you're often working with raw values (like area, height, dwelling units), and you need to visually express or scale them into something useful for a model, UI, or visualization:

  • Scale building heights based on FAR or number of floors.

  • Adjust opacity based on usage intensity.

  • Color-code parcels by dwelling density.

  • Map land value per square meter to a fill-opacity or heat bubble radius.

Did this answer your question?