• Remix
  • Share
  • New Entry

on 18 Oct 2021
  • 3
  • 30
  • 0
  • 0
  • 279
V=-ones(8,3)/2;
V([2 3 6 7],1)=.5;
V([3 4 7 8],2)=.5;
V(5:8,3)=.5;
m=[.7 .5 .2];
p0=patch('Faces',[1:4 1 5;2:4 1 2 6;6:8 5 3 7;5:8 4 8]','Verti',V,'FaceC',m);
%camlight
light
for k=1:729
q=copyobj(p0,gca);
r=rand(1,3);
q.Vertices=V+[mod(k./[1 10 100],9)]+.6*r;
q.FaceColor=m+.2*r;
end
axis equal tight off
view(3)
Remix Tree