Zulip Chat Archive

Stream: Is there code for X?

Topic: Spherical coordinates


ZhiKai Pong (Apr 16 2025 at 23:01):

Hi, I'm looking to implement spherical coordinates in PhysLean, and I'd just like to check that mathlib currently doesn't have them either? I only found docs#polarCoord

Joseph Tooby-Smith (Jul 16 2025 at 14:14):

Following a discussion on the PhysLean channel (and more for the 'record' here rather than else), there is docs#homeomorphUnitSphereProd which splits a point up into a radius and a point on the sphere. Not quite fully into spherical coordinates though.


Last updated: Dec 20 2025 at 21:32 UTC