- /
-
Colorful Clam
on 6 Oct 2022
- 4
- 24
- 0
- 0
- 225
figure;
mp=6557;
ag=0:2*pi/mp:2*pi;
xV=cos(ag);
yV=sin(ag);
tm=234;
for i=1:200
ptO=[xV(mod(i,mp)+1);yV(mod(i,mp)+1)];
rm=mod(i*tm,mp);
pt=[xV(rm+1);yV(rm+1)];
ptsD=[ptO,pt];
plot(ptsD(1,:),ptsD(2,:));hold on
axis square
axis off
end
colormap(autumn)