.PS # MapleLeaf.m4 # https://tex.stackexchange.com/questions/348089/how-to-draw-a-maple-leaf-in-tikz gen_init define x { (1+(cos(6*t))^2 + 1/5*(cos(6*t)*cos(24*t))^10 \ + (1/4*(cos(30*t))^2 + 1/9*(cos(30*t))^12)*(1-(sin(6*t))^10)) \ *sin(2*t)*(1-(cos(t))^4)*(1-(cos(t))^10*(cos(3*t))^2)+1/70*(cos(t))^9 } define y { -21/20*cos(2*t)*(1-(cos(t))^4 + 1/2*(cos(t)*cos(3*t))^10) \ *(1+(cos(6*t))^2 + 1/5*(cos(6*t)*cos(18*t))^10 \ + (1/4*(cos(30*t))^4 + 1/16*(cos(30*t))^12) \ *(1-(cos(t))^10*(cos(3*t))^2)*(1-(sin(6*t))^10)) } npts=200 t = 0 spline 0.55 from (x,y) up 0 shaded "Red" for i=1 to npts do { t=i/npts*pi__; continue to (x,y) } .PE