Skip to content

Math

Inputs

  • Values: List of numbers to map.

Widgets

  • min_value: Target minimum.
  • max_value: Target maximum.

Outputs

  • Result: Mapped values.

Maps a list of input values to a new range. For example, if your input values go from 0 to 100, and you map them to 0.0 to 1.0, an input of 50 becomes 0.5. It automatically detects the min/max of the input batch relative to the frame.

WidgetTypeDescription
min_valueFloatThe new minimum value for the output range.
max_valueFloatThe new maximum value for the output range.




Inputs

  • count: (Optional) Batch size.

Widgets

  • min_value: Range start.
  • max_value: Range end.
  • count: Batch size.

Outputs

  • Value: Random number(s).

Generates a stream of random floating-point numbers within a specified range.

WidgetTypeDescription
min_valueFloatThe lowest possible number.
max_valueFloatThe highest possible number.
countIntHow many random numbers to generate in the batch.




Inputs

  • A: Value 1.
  • B: Value 2.

Widgets

  • operation: Function selector.

Outputs

  • Value: Result.

Performs mathematical operations between two numbers (A and B).

WidgetTypeDescription
operationDropdownChoose from Add, Subtract, Multiply, Divide, Power, Logarithm, Minimum, Maximum, etc.