Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for spherical coordinates #344

Open
jemsurfer opened this issue May 17, 2022 · 2 comments
Open

Add support for spherical coordinates #344

jemsurfer opened this issue May 17, 2022 · 2 comments

Comments

@jemsurfer
Copy link

The spherical coordinate system gives a different way of writing 3d coordinates, and some more knobs to turn for graphing stuff, e.g using r=theta*phi etc.

I think math3d would be a lot more fun if these were implemented, let me know if they've already been implemented in a way I haven't realised.
Thanks!

@ChristopherChudzicki
Copy link
Owner

Good question.

What sort of use are you thinking about for spherical coordinates? One idea that I can think of would be specifying a surface R(theta, phi).

When I've needed to do R(theta, phi) in the past, I've used a parametric surface and defined helper functions X(theta, phi), Y(theta, phi), etc. For example: https://www.math3d.org/bGaDrXVci

But certainly it would be nice if this were more convenient.

@jemsurfer
Copy link
Author

Thanks for the reply.
I was watching a 3blue1brown video on quaternions, https://odysee.com/@3Blue1Brown/what-are-quaternions-and-how-do-you
and thought of making a demo on math3d, when I discovered it didn't support it directly, so I made this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants