Skip to content

distance2d

distance2d calculates the 2D distance between a point and a stream of points, outputting the result as a float. It accepts coordinate lists through both inlets, and the fixed point can be initialized with two creation arguments, as shown by distance2d 0.3 0.5.


AI Generated

This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.


  • Download via Deken.

    Open Pd and go to ToolsFind Externals. Search for mapping and install it. Then create an object with declare -lib mapping -path mapping. Finally, use distance2d or any other object from mapping.


Similar


    Comments

    Contributors