- /
-
Death Star Wars
on 27 Oct 2021
- 11
- 976
- 0
- 0
- 276
[X,Y,Z]=sphere(999);
R=1.9+.2*imresize(rand(60),[1e3 1e3],'n');
R(Y>.9)=2;
Y=abs(.9-Y)-.9;
surf(R.*X,R.*Y,R.*Z,'edgec','n','facec',0.8*[1 1 1])
axis equal off
light('po',-[0 3 0],'col',[1 1 1]);
set(gcf,'color','k')
hold on;
for i=(1:8)*pi/4
plot3([.8*cos(i) 0],-[1.6 3],[.8*sin(i) 0],'g');
end