You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SPHERICAL_TRANSFORM_FUNC = Makie.PointTrans{3}() do point
θ, ϕ, r = point # we interpret this way so that e.g. surface works correctly.returnPoint3(
(r +1) *cos(ϕ) *sin(θ),
(r +1) *sin(ϕ) *sin(θ),
(r +1) *cos(θ)
)
endusing GeoMakie
f, a, p =meshimage(-π..π, 0..π, rand(10, 10); z_level =1, axis = (; type = LScene,))
p.transformation.transform_func[] = SPHERICAL_TRANSFORM_FUNC
f
Need to clean this up and upload!
The text was updated successfully, but these errors were encountered:
My code:
Need to clean this up and upload!
The text was updated successfully, but these errors were encountered: