@flow-connect/math
Custom nodes for common math functions
Custom Nodes
-
Abs
Outputs absolute value for the input, input can be an array of values, in which case output will also be an array of values. -
Average
Performs an 'average' function on input array and outputs scalar value. -
Func
Transforms input value or array of values using the math function provided as prop to node for e.g.sin(t) + 0.2cos(2.8t)
, wheret
is the input value or current value from input array. -
Normalize
Normalizes the input value or array based on the moderelative
orabsolute
, if input is an array, default mode isrelative
in which case normalization parameters (min and max) will be taken as min/max value in array, inabsolute
mode min/max needs to be specified as Node props. - and much more...!
Check out the docs for details on all the custom nodes provided in this package