Keywords: Splined epitrochoid.png Splined epitrochoid svg Created with Sage made with Sage; code is as follows <source lang python > Five-petaled epitrochoid via splining the points Draw an epitrochoid fixed circle radius R rotating circle of radius r pen at distance d from center of rotating circle R 5 r 2 d 3 rotations R + r / r denom v step 0 2 for t in srange 0 2 pi rotations step v append R + r cos t - d cos R + r / r t R + r sin t - d sin R + r / r t x_spline spline RDF i / len v vi0 for i in range len v + 1 v00 y_spline spline RDF i / len v vi1 for i in range len v + 1 v01 show points v rgbcolor 1 0 0 pointsize 10 + parametric_plot x_spline y_spline x 0 1 thickness 0 5 figsize 4 4 ticks 2 5 2 5 xmin -10 </source> en wikipedia org 2008-03-06 dino en English Wikipedia dino Check categories 2010 July 26 en wikipedia Interpolation 1 Interpolation Images with Sage source code Epitrochoid |