Skip to content

sph2cart

The sph2cart object converts spherical coordinates (radius, azimuth, elevation) to Cartesian coordinates (x, y, z). All input angles are expected to be in radians. It takes three float inputs for radius, phi, and theta, and outputs three floats for the corresponding x, y, and z coordinates.


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 zexy and install it. Then create an object with declare -lib zexy -path zexy. Finally, use sph2cart or any other object from zexy.

  • Library developed mainly by Johannes M. Zmölnig.
  • Report Bugs/Errors here!
  • Available for .

Similar


    Comments

    Contributors