Distance2d Op
Calculates the Distance between two 2d points
Summary (oneliner)
Updates the output (Distance
) every time one of the values changes.
Full Name
- Ops.Math.Distance2d
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch distance2d
INPUT PORTS
x1 (Number)
X-coordinate of the first point
y1 (Number)
Y-coordinate of the first point
x2 (Number)
X-coordinate of the second point
y2 (Number)
Y-coordinate of the second point
OUTPUT PORTS
distance (Number)
The distance between point 1 and point 2