- /
-
Hanging lanterns
on 31 Oct 2021
- 7
- 165
- 0
- 0
- 280
hold
a=315;
b=(0:.01:pi)';
[x,y,z]=sphere(a-1);
v=(abs(sin(20*b))+3)/4;
v(1:65)=nan;
A=ones(a).*v.^2.*cat(3,1,0,0).*sin(b).^2;
l=linspace(-1.6,2,15).^2;
for n=1:10
s=2-n/8;
surf(x.*v/s+n*2.8,y.*v/s,z/s+l(n)*3,A/s,EdgeA=0);
end
axis equal off
view([78,-15])
set(gcf, 'color', 'k')
zlim([-60,63]);
camva(.25)