Product media placeholder
Replace this area with a screenshot or short walkthrough video during the media sweep.
Single Float→Float math operation. Picks unary (`abs`, `round`, `sqrt`, ...) or binary (`add`, `subtract`, `multiply`) ops; binary ops use `value` + `b`. Range ops (`clamp`, `normalize`) use `value` + `min` + `max`.
Inputs
| Port | Type | Description |
|---|---|---|
value | float | Primary input. For unary ops (abs, sqrt, etc.) this is the operand. For binary ops (add, subtract, multiply) it's the left-hand side. For range ops (clamp, normalize) it's the value being scaled. |
min | float | Range minimum. Used by `clamp` (lower bound) and `normalize` (input range start). Ignored by other operations. |
max | float | Range maximum. Used by `clamp` (upper bound) and `normalize` (input range end). Ignored by other operations. |
b | float | Right-hand operand for binary operations (`add`, `subtract`, `multiply`). Ignored by unary ops. |
Outputs
| Port | Type | Description |
|---|---|---|
result | float | Output of the selected operation applied to the inputs. |
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
operation | enum | "abs" | Math operation applied to the inputs. Unary ops (`abs`, `round`, `sqrt`, ...) only use `value`. Binary ops (`add`, `subtract`, `multiply`) use `value` + `b`. Range ops (`clamp`, `normalize`) use `value` + `min` + `max`. Unused inputs are ignored. options negate, abs, round, floor, ceil, sign, degToRad, radToDeg, fract, reciprocal, sqrt, clamp, normalize, add, subtract, multiply |
Use cases
- Combine two signals — wire two sources into `value` and `b`, set `add` / `multiply` to mix them.
- Range remap — feed a 0..1 progress into `normalize` with `min`/`max` to scale into a domain-specific range, or `clamp` to limit it.
- Unit conversion — `degToRad` / `radToDeg` between angle units when wiring rotation drivers.
Envelope
Use mathUtil as the node type inside a graph node envelope. Add id, optional params, optional connections, and optional activeWhen based on the guide context.
Generated source
Registry faster-motion-docs/node-registry.jsonCategory page /help/faster-motion/faster-motion-node-category-math/