- /
-
Rubber Band Ball
on 13 Oct 2022
- 4
- 18
- 0
- 0
- 167
axis([-1 1 -1 1])
axis square
axis off
hold
m = 108;
n = 251;c=prism(n+1);
z = exp(2i*pi*(0:n)/n);
for j = 0:n
plot([z(mod(j,n)+1) z(mod(j*m,n)+1)],'Color',c(j+1,:),'LineW',2)
end
Image
![](/responsive_image/300/300/0/0/0/cache/matlabcentral/communitycontests/uploaded_files/11803/image.png)