Map Range
Takes a value from one range and spreads it across another.
remap, rescale, range, normalize, convert, fit to range, 0 to 1- Category
- Values
- Outputs
- value
- Runs live in
- no target yet
A height that runs from 0 to 12 becomes a thickness that runs from 0.4 to 0.05. A noise that comes out between 0 and 1 becomes an offset between -1 and 1. Almost every field needs this on the way to wherever it is going.
Clamp keeps the result inside the target range when the input strays outside the one you named, which is usually what you want.
Inputs
| Socket | Type | Wiring |
|---|---|---|
| fieldValue | field, optional |
Parameters
| Name | Type | Default | Available when | What it does |
|---|---|---|---|---|
| inputValue | number | 0 | always | |
| From Min | number | 0 | always | |
| From Max | number | 1 | always | |
| To Min | number | 0 | always | |
| To Max | number | 1 | always | |
| Clamp | checkbox | on | always | |
| Steps | number | 0 | always |
Watch out
Do not reach for Steps to make a simple two-level signal. It does not produce the two endpoints you would expect. Compare into Math is the direct way to get one.
Built with this node
- Materials and appearanceHow-to
- My colour came out flatFix
- Vary copiesHow-to
- Colour That Follows the Shapeuses it
- Vary Copies by Where They Areuses it