- /
-
World at Night!
on 4 Oct 2022
- 2
- 21
- 0
- 0
- 212
figure;
mp=2000;
ag=0:2*pi/mp:2*pi;
xV=cos(ag);
yV=sin(ag);
tm=103;
for i=0:mp
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(2,:),ptsD(1,:),'k');hold on
axis square
axis off
end