from turtle import * from math import cos,sin from time import sleep ht() speed() pensize(2) color("red") pu() A=70 B=70 k=3/5 t=0 for i in range(0,10000): t+=0.01 x=A*cos(k*t)*cos(t) y=A*cos(k*t)*sin(t) goto(x,y) pd() sleep(0.5)
Create, edit, and import your Python scripts
from turtle import * from math import cos,sin from time import sleep ht() speed() pensize(2) color("red") pu() A=70 B=70 k=3/5 t=0 for i in range(0,10000): t+=0.01 x=A*cos(k*t)*cos(t) y=A*cos(k*t)*sin(t) goto(x,y) pd() sleep(0.5)