Code
using GLMakie,LinearAlgebra
let
=0:0.01:1.82pi # 不要到 2pi, 留出空隙, 可以观察内部
uspan=0:0.01:1pi
vspan= Figure()
f = Axis3(f[1, 1];azimuth=-0.1pi,elevation=-0.05pi)
ax = repeat([1:50;50:-1:1],outer=2)
col
function plot_sphere(r::Int)
=[r*cos(u)*sin(v) for u in uspan,v in vspan]
xs=[r*sin(u)*sin(v) for u in uspan,v in vspan]
ys=[r*cos(v) for u in uspan,v in vspan]
zssurface!(xs,ys,zs,color=color=col)
end
for r in [2,5,8]
plot_sphere(r)
end
fend