- /
-
Color Ring v4
on 28 Oct 2021
- 8
- 22
- 0
- 0
- 243
k=cosd(30);
x=-k:.01:0;
y=1.6*(x+k).^.1-0.5;
z=[x;y];
R=@(x)[cosd(x) -sind(x);sind(x) cosd(x)];
c=hsv(12);
for i=0:11
Z=R(30)^i*z;
p=Z(:,1);
for j=0:9
F=R(3)^j*(Z-p)+p;
plot(F(1,:),F(2,:),'color',c(i+1,:)*(1-j/10)); hold on;
end
end
axis equal off;
set(gcf,'color','k')