Rubix Wires: Num-Transform Nodes
This article describes the Rubix Wires nodes that are in the Num-Transform category.
The `Num-Transform` category contains nodes that modify numeric values.
Round
This node rounds a numeric value to a configured number of decimal places.
- input - Numeric input value.
Outputs
- output - Input value rounded to configured number of decimal places.
Settings
- Name - Name of the node.
- Decimal Places (Limit 5) - Required number of decimal places to round the input to (maximum of 5 decimal places).
Operation
- 'output' is the 'input' value rounded to the configured number of decimal places. The number of decimal places can be configured from settings (limited to 5 decimal places).
Limit
This node clamps numeric input values within the configured limit range.
- input - Numeric input value.
- [min] - Minimum limit setting value.
- [max] - Maximum limit setting value.
Outputs
- output - Numeric output value (limited to range between `min` and `max`.
Settings
- Name - Name of the node.
- Min - Minimum limit setting value.
- Max - Maximum limit setting value.
Operation
‘output' follows the 'input' value when it is between the 'min' and 'max' values. If 'input' is greater than the 'max' value, 'output' will be the 'max' value. If 'input' is less than the 'min' value, 'output' will be the 'min' value. 'max' and 'min' values can be configured from settings.
Scale
This node scales (remaps) a numeric input value from an configured input range to a configured output range.
- input - Numeric input value
- [in-min] - Minimum input range value.
- [in-max] - Maximum input range value.
- [out-min] - Minimum output range value.
- [out-max] - Maximum output range value.
Outputs
- output - Scaled numeric value.
Settings
- Name - Name of the node.
- Minimum Input - Minimum input range value.
- Maximum Input - Maximum input range value.
- Minimum Output - Minimum output range value.
- Maximum Output - Maximum output range value.
Operation
Performs a linear interpolation of the 'input' value based configured settings. When 'input' value is between 'in-min' and 'in-max' it is linearly interpolated between 'out-min' and 'out-max'. If 'input' is greater than the 'in-max' value, 'output' will be the 'out-max' value. If 'input' is less than the 'in-min' value, 'output' will be the 'out-min' value. 'in-max', 'in-min', 'out-max', and 'out-min' values can be configured from settings.
Linear-Interpolate
This node allows a numeric input to be interpolated along a linear scale with multiple inflection points.
- input - Numeric input value.
- [x#] -> [y#] - At this time the inputs (1 per inflection point) do not change the function of the node, they are only for reference of the configured settings values.
Outputs
- output - Numeric output value.
- belowRange - Boolean output. If `input` is below the maximum configured X axis range, `output` is `true`.
- aboveRange - Boolean output. If `input` is above the minimum configured X axis range, `output` is `true`.
Settings
- Name - Name of the node.
- Inflection Points Count - Number of inflection points.
- x1/x2/x#... - X and Y values configurations for each inflection point.
Operation
Performs a linear interpolation of the 'input' value between configured inflection points. The number of inflection points and their X and Y values can be configured in settings. When the 'input' value is between configured inflection points the 'output' value will be the linear interpolation of the 'input' value between the adjacent inflection point values.
Fade
This node provides a numeric output that ramps up or down over a configured range over a set period of time.
- enable - Boolean input to enable the node operation.
- [interval] - Numeric interval time setting.
- [from] - Numeric fade range starting value setting.
- [to] - Numeric fade range ending value setting.
Outputs
- output - Numeric output value.
- out=to - Boolean output: `true` if `output` has reached the configured `to` value.
Settings
- Name - Name of the node.
- Interval - Numeric interval setting (units can be configured).
- Units - Time unit of `Interval`.
- To Value - Numeric fade range ending value setting.
- From Value - Numeric fade range starting value setting.
Operation
This node makes a smooth transition from 'from' value to 'to' value over the 'interval' period when 'enable' transitions from 'false' to 'true'; after this 'interval' period 'output' will match the 'to' value while 'enable' is 'true'. During the 'interval' period, the rate of 'output' change cannot be changed. Once the 'interval' period is complete 'out=to' becomes 'true' until 'enable' becomes 'false' again.
Rate-Limit
This node limits the rate of change of a numeric input. The rate of change is limited to a configured step size for each periodic update interval.
- input - Numeric value that `output` will ramp up/down towards.
- [enable] - Boolean input to enable or disable the node.
- [step] - Numeric value for the maximum step size.
- [interval] - Numeric value for the stepping interval time. units are configured from settings.
Outputs
- output - Numeric output that steps towards `input` value.
Settings
- Name - Name of the node.
- Enable - Toggle switch to enable or disable the node.
- Step Size - Numeric value for the maximum step size.
- Update Interval - Numeric value for the update interval.
- Units - Time unit selection for Update Interval (Milliseconds, Seconds, Hours, Minutes).
Operation
This node makes a rate limited transition from its current `output` value to the ‘input’ value. When ‘enable’ is ‘true’, ‘output’ is permitted to change towards the ‘input’ value based on settings values. ‘output’ can change by ‘step’ size every `interval’ period. ‘output’ will be ‘null’ when ‘enable’ is ‘false’.
Related Articles:
- Rubix Wires: Working with Nodes
Related Articles
Rubix Wires: Math Nodes
This article describes the Rubix Wires nodes that are in the Math category. Math The `Math` category contains simple mathematical nodes than can be used to make numeric calculations. Add This node performs an addtion operation on all inputs. Inputs ...
Rubix Wires: Statistics Nodes
This article describes the Rubix Wires nodes that are in the Statistics category. Statistics The `Statistics` category contains nodes that provide statistical analysis functionalities. Min-Max-Average This node provides minimum, maximum, and ...
Rubix Wires: String Nodes
This article describes the Rubix Wires nodes that are in the String category. String The `String` category contains nodes that are used for manipulating string data. String-Join This node joins multiple input strings into a single output string. ...
Rubix Wires: Latch Nodes
This article describes the Rubix Wires nodes that are in the Latch category. Latch The `Latch` category contains value latching functionality for each data type. Latch nodes will maintain an output value between trigger events. Any-Latch This node ...
Rubix Wires: Point Nodes
This article describes the Rubix Wires nodes that are in the Point category. Point The `Point` category contains nodes that produce constant or variable data; there are nodes for each Rubix Wires data type. Bool-Constant This node outputs a fixed ...