- /
- 
        Holiday Festivities at MATropolis!
        on 28 Oct 2022
        
        
 
    - 21
- 230
- 0
- 3
- 279
% Buildings & Figure Orientation
axes(Color=[.2,.2,.2])
hold
colormap bone
camva(1.3)
view(-80,4)
bar3(randg(1,60));
axis equal
zlim([0,13])
% Stars
n=84; % number of stars
plot3(n*ones(1,n),25:.3:50,10*rand(1,n),'yp')
% Fireworks
c='cwrgm'; % colors
for i=30:2:46 % x position in sky
    r=rand;
    for j=.1:.2:r+.6 % radii
        [x,y]=pol2cart(0:.7:2*pi,j);
        plot3(n*ones(1,9),x+i,y+6*r+4-j/3,[c(rem(i,5)+1),'.'])
    end
end


 

 
            