• Remix
  • Share
  • New Entry

on 19 Nov 2023
  • 11
  • 145
  • 0
  • 3
  • 495
drawframe(1);
Write your drawframe function below
function drawframe(f)
h = linspace(-0.6,0.75,48);
syms x y
eqn = ((((0.5*x^2+0.3*y^2)^3 - x^2*y^3)^2 -1)*(5*x^2+(3*y-0.5-y^3)^2-1)-1)...
*(((x-0.7)^2+(2.5*y-1)^2 - 0.3)*((x-0.7)^2+(2.5*y-1)^2 - 0.2)*(abs(5*x-1.7)+(2*y+2*h(f))^20+y+h(f)+0.2)-0.002)...
*((x+0.7)^2+(2.5*y-1)^2 - 0.3)*((x+0.7)^2+(2.5*y-1)^2 - 0.2)...
*((x+0.7)^2+(y-0.4)^2 - 0.025)*((x-0.7)^2+(y-0.4)^2 - 0.025)...
*(abs(8*x)+(2.3*y)^20+y-0.5)*((9*x^2+(3*y+1.71)^2-1)^2+y^5+0.55) == 0;
fimplicit(eqn,[-2.5,2.5,-2.2,3.5], MeshDensity=500,LineStyle="-");
axis equal
end
Animation
Remix Tree