Recently for a project I was wondering if there is any way to visualize the contour plot of a parametric surface in Makie. Typically, if I have the explicit expression f(x,y), I can just evaluate in a domain and use the contour (or contourf) functions. However, for my particular case consider as an example this half-sphere.
using GLMakie phi = 0:0.01:2π theta = 0:0.01:π/2 x = [cos(p)*sin(t) for t in theta, p in phi] y = [sin(p)*sin(t) for t in theta, p in phi] z = [cos(t) for t in theta, p in phi] surface(x,y,z)
Here I have a parametric sphere, and I would like to get the circles on the x-y plane.
Any ideas on how to do this?
This is my first time asking something in the discourse, I apologize in advance if some details are missing.