• Remix
  • Share
  • New Entry

on 10 Oct 2022
  • 7
  • 29
  • 1
  • 0
  • 275
t = (0:0.001:2*pi)';
n = 0.1:0.015:0.75;
r = (abs(cos(2*t/4)).^n+abs(sin(2*t/4)).^n).^(-1./n);
x1 = r.*cos(t);
y1 = r.*sin(t);
plot(x1,y1,'r')
axis equal off
hold on
patch(-0.5*y1(:,25),0.5*x1(:,25),'k')
xp = -1.2:0.1:1.2;
yp1 = xp.^4-1;
yp2 = xp.^6-1.5;
patch([xp,flip(xp)],[yp1,flip(yp2)],'k')
Image
Remix Tree