Nodes in this category perform discontinuous numeric operations such as rounding, clamping, mapping, and randomization.
Nodes
| Node | Details | Possible Types |
|---|---|---|
| Absolute Value | The absolute value function ( | f64 → f64f32 → f32i32 → i32i64 → i64vec2 → vec2 |
| Ceiling | The ceiling function ( | f64 → f64f32 → f32 |
| Clamp | The clamp function ( | f64 → f64f32 → f32u32 → u32string → string |
| Floor | The floor function ( | f64 → f64f32 → f32 |
| Greatest Common Divisor | The greatest common divisor (GCD) calculates the largest positive integer that divides both of the two input numbers without leaving a remainder. | u32 → u32u64 → u64i32 → i32 |
| Least Common Multiple | The least common multiple (LCM) calculates the smallest positive integer that is a multiple of both of the two input numbers. | u32 → u32u64 → u64i32 → i32 |
| Max | The maximum function ( | f64 → f64f32 → f32u32 → u32string → string |
| Min | The minimum function ( | f64 → f64f32 → f32u32 → u32string → string |
| Random | The random function ( | → f64 |
| Remap | Linearly maps an input value from one range to another. The ranges may be reversed. For example, 0.5 in the input range | f64 → f64f32 → f32 |
| Round | The rounding function ( | f64 → f64f32 → f32 |