Converting 3D cartesian coordinates to spherical coordinates

Hello everyone. I'm a neophyte of Processing but I'm enjoying the learning process so far.

For a project I'm working on, I'm looking to convert a set of cartesian coordinates (x, y, z) to spherical coordinates to obtain a different visual representation of a set of data I am working on. I'm wondering if there is any simple answers that Processing might already provide before I dive into writing math conversations myself.

Any tip is very welcome.

Sign In or Register to comment.