Skip to main content

Normalize to Range

normalize to range

Use Normalize to Range to remap a value from an old range to a range within 0 and 1. Normalize to Range is in the Math category.

Input

NameData TypeDescription
ANumberThe input value to be normalized.
MinNumberThe lower bound of the old range.
MaxNumberThe upper bound of the old range.

Output

NameData TypeDescription
ResultNumberThe normalized value.

Example

normalize to range example

In this example, the cube’s color is controlled by the position of the sphere. It uses Normalize to Range to map the sin(time) to various ranges for the R and B value of the cube’s color.

normalize to range node