- /
-
Hypnotic spiral
on 4 Oct 2021
- 7
- 92
- 0
- 0
- 212
r = linspace(1,120,100);
theta = log(r)*5;
f = 2*pi/8;
for k=0:f:2*pi
patch([r.*cos(theta+k) fliplr(r.*cos(theta+k+f/2))],[r.*sin(theta+k) fliplr(r.*sin(theta+k+f/2))],[0 0 0]);
end
axis equal off;
axis([-1 1 -1 1]*max(r)/2);