- /
-
Lantern #2
on 29 Oct 2021
- 10
- 171
- 0
- 0
- 275
figure(Color='k');
a=315;
b=(0:.01:pi)';
[x,y,z]=sphere(a-1);
v=(abs(sin(20*b))+3)/4;
c=ones(a);
A=c.*v.*cat(3,1,0,0).*sin(b).^6;
v(1:60)=nan;
image(A)
axis off
text(a/8,a/2,'福','FontSize',80);
t=getframe;
clf
v=v.^.1;
surf(x.*v,y.*v,z,flip(t.cdata(1:a,1:a,:)));
shading flat
axis equal off
view([0,-35])