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 → f64f64[] → f64[]f32 → f32f32[] → f32[]i32 → i32i32[] → i32[]i64 → i64i64[] → i64[]Vec2 → Vec2Vec2[] → Vec2[] |
| Average | Averages all the numbers in the input list. An empty list gives 0. | f64[] → f64 |
| Ceiling | The ceiling function ( | f64 → f64f64[] → f64[]f32 → f32f32[] → f32[] |
| Clamp | The clamp function ( | f64 → f64f64[] → f64[]f32 → f32f32[] → f32[]u32 → u32u32[] → u32[]String → StringString[] → String[] |
| Floor | The floor function ( | f64 → f64f64[] → f64[]f32 → f32f32[] → 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 → u32u32[] → u32[]u64 → u64u64[] → u64[]i32 → i32i32[] → 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 → u32u32[] → u32[]u64 → u64u64[] → u64[]i32 → i32i32[] → i32[] |
| Max | The maximum function ( | f64 → f64f64[] → f64[]f32 → f32f32[] → f32[]u32 → u32u32[] → u32[]String → StringString[] → String[] |
| Maximum | Gives the largest number in the input list. An empty list gives 0. | f64[] → f64 |
| Min | The minimum function ( | f64 → f64f64[] → f64[]f32 → f32f32[] → f32[]u32 → u32u32[] → u32[]String → StringString[] → String[] |
| Minimum | Gives the smallest number in the input list. An empty list gives 0. | f64[] → f64 |
| Random | The random function ( | → f64 → 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 → f64f64[] → f64[]f32 → f32f32[] → f32[] |
| Round | The rounding function ( | f64 → f64f64[] → f64[]f32 → f32f32[] → f32[] |
| Sum | Adds together all the numbers in the input list, producing their total. | f64[] → f64 |