/* Pascalsche Schnecke ------------------- Koordinatengleichung: (x^2 + y^2 - a*x)^2 = 0 Parametergleichung : x = a * (cos t)^2 + b * cos t y = a * cos t * sin t + b * sin t t = [0, 2*pi] */ function fx (t) return cos t - cos (2*t); function fy (t) return sin t - sin (2*t); svg_open (200,200,100,100); svg_kreuz 10; svg_kurve ( fx, fy ,0 , 2*PI, 'zoom=20','sf=red' ); // Standardannahme Einheit 10 mm, 100 Stützpunkte svg_close '/tmp/recapis.de/vektorfunktionen/pascalsche_schnecke.svg';