• Remix
  • Share
  • New Entry

  • Adam Danz

  • /
  • Juan Villacrés' Rubik's Cube without edge lines

on 13 Oct 2021
  • 12
  • 50
  • 0
  • 0
  • 279
% Remix of Juan Villacrés'Rubik's Cube
% Removing edge lines and other changes
% to meet char requirements.
n=reshape([0 dec2bin(1.5467695506668e+13)-'0'],5,9);
f=@(a,q,w,r,c)plot(alphaShape(a(:,1)+q,a(:,2)+w,a(:,3)+r),FaceC=c,EdgeC='n');
for k=[floor((1:9)/3.1);0:2 0:2 0:2;jet(9)']
b=k(1);
c=k(2);
d=k(3:5);
f(n(:,1:3),b,0,c,d)
hold on
f(n(:,7:9),0,b,c,k(5:-1:3))
f(n(:,4:6),c,b,2,d)
end
light
axis off
Remix Tree