• Remix
  • Share
  • New Entry

on 23 Oct 2021
  • 4
  • 17
  • 0
  • 0
  • 237
% Remix of Vinay Ramesh's "And there's no party w/o balloons!!"
[X,Y,Z]=sphere(300);
[A,B]=meshgrid(0:2:10);
C=meshgrid(1:30);
hold on
for i=1:30
c=rand(1,3);
a=A(i)-A(i)*.1;
b=B(i)+mod(C(i),2);
surf(X+a,Y+b,Z+6,FaceC=c,FaceA=.8,EdgeA=0)
% add knot
[U,V,W]=cylinder([.1,.1],2);
% surf(U+a,V+b,W/2+3.8,EdgeA=0,FaceC=c);
end
axis off equal
campos([-10,6,1])
camva(25)
camlight
Remix Tree