Skip to main content
TikTok Effect House Platform Logo
Latest
Download
Log in
Math

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

In this example, the cube’s color is controlled by the position of the sphere. We use normalized to range to map the sin(time) to various ranges for the R and B value of the cube’s color.