- /
-
Sunflower
on 15 Oct 2021
- 12
- 200
- 2
- 0
- 279
hold on; axis off;
% Petals
t=linspace(0,2*pi,1e3);
for b=0:pi/2:pi
x=275*cos(6*t+b).*cos(t+b);
y=275*cos(6*t+b).*sin(t+b);
c=sqrt(x.^2+y.^2)>127.381;
patch(x(c),y(c),[1,.8157,.2510])
end
% Florets
z=linspace(1,118,1200)*137.5;
v=sqrt(z).*cos(z);
w=sqrt(z).*sin(z);
plot(v,w,'o','MarkerFaceColor',[.4431,.2588,.0667])