- /
-
Sailing
on 29 Oct 2021
- 4
- 20
- 1
- 0
- 253
t=0:pi/10:3*pi;
G=2021
X=sin(t).*tanh(t);
Y=cosh(t);
cmap=[hsv;turbo;jet;autumn;flag;prism;pink];
size(cmap)
for j=.1:.1:2
a=0;
if rem(round(j*10),2)
a=pi/20;
end
[x,y] = pol2cart(t+a,j);
for i=1:length(t)
%patch(X*j/10+x(i),Y*j/10+y(i),[.8 .3 0])
patch(X*j/10+x(i),Y*j/10+y(i),cmap(i*G))
hold on
end
end
axis equal off
%axis([-1.1 1.1 -1.1 1.1])