• Remix
  • Share
  • New Entry

on 11 Oct 2021
  • 1
  • 18
  • 0
  • 0
  • 276
[x,y,z]=sphere(99);
[i,j,k]=meshgrid(-4:4);
m=224;
N=[i(:),j(:),k(:)]';
[~,b]=sort(vecnorm(N));
N=N(:,b(1:m));
P=[2*N(1,:)+mod(N(2,:)+N(3,:),2);sqrt(3)*(N(2,:)+mod(N(3,:),2)/3);2*sqrt(6)*N(3,:)/3];
hold on;
for p=1:m
surf(x+P(1,p),y+P(2,p),z+P(3,p),'EdgeColor','none','FaceAlpha',.1);
end
view(3)
Remix Tree