@flow-connect/math
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

@flow-connect/math

npm (scoped) GitHub Workflow Status npm bundle size (scoped)


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), where t is the input value or current value from input array.
  • Normalize
    Normalizes the input value or array based on the mode relative or absolute, if input is an array, default mode is relative in which case normalization parameters (min and max) will be taken as min/max value in array, in absolute 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

Package Sidebar

Install

npm i @flow-connect/math

Weekly Downloads

198

Version

2.0.3

License

MIT

Unpacked Size

105 kB

Total Files

30

Last publish

Collaborators

  • saurabh-prosoft