- /
-
Spiral of Opposites
on 19 Oct 2022
- 3
- 13
- 0
- 0
- 278
a=pi/2;
t=0:64*a;
f=@(z)[cos(z),sin(z)];
s=t'/16;
for k=t
y=f(k);
o=9*k*y;
x=@(g,r,c)r*[f(g).*y*[1;-1],f(g)*flip(y)']+c;
h=k/2;
u=h*f(k+a);
d=[x(s/2-a,k,o),x(s/2+a,k,o),x(s,h,o+u),x(s,h,o-u),x(s,h/5,o+u),x(s,h/5,o-u)];
patch(d(:,1:2:11),d(:,2:2:12),[0;1;0;1;1;0],'EdgeColor','none')
end
axis equal off