• Remix
  • Share
  • New Entry

on 4 Oct 2021
  • 3
  • 27
  • 0
  • 0
  • 280
y=-1:.01:1;
x=sqrt((1-y.^2)./(1-y/2));
X=[1 1.2 .2 .4 0];
Y=[1 1.4 1.2 1.4 1.8];
b=[patch([x fliplr(-x)],[y fliplr(y)],[.7 0 0]),patch([X fliplr(-X)],[Y fliplr(Y)]-.2,[0 .6 0])];
for i=1:20
t=hgtransform;
set(copyobj(b,gca),Parent=t);
set(t,Matrix=makehgtform(translate=rand(1,3)*20))
end
axis off
Remix Tree