• Remix
  • Share
  • New Entry

on 23 Oct 2021
  • 10
  • 17
  • 0
  • 0
  • 280
%5 spirograph overlap, random param
% overlapping 6 graphs
A=[.1;.1;.2;.4];
B=[.8;.4;.9;.9];
C=[.5;.7;.7;.5];
Z=randi(9,4,1)*7; % Make random
m=(0:.01:2).*Z;
n=m.*(A./B);
p=A-B;
X=p.*cos(m)-cos(n).*C;
Y=p.*sin(m)-sin(n).*C;
% Have colors expand out from the center.
Z=hypot(X,Y);
figure('Color','k');
hold
Current plot held
c=rand(99,3);
for k=1:4
h=fill(X(k,:)+2*c(k),Y(k,:),Z(k,:),FaceA=c(k*2),EdgeC='interp');
end
%colormap("autumn")
colormap([c;jet])
axis off
Remix Tree
Load full remix tree