Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

A simple example:

pts=[[sin(3*theta)*cos(theta),sin(3*theta)*sin(theta)] for theta in srange(0,pi,0.1)]
graph_list=[]
g=Graphics()
for p in pts:
    g+=points(p,xmin=-1,xmax=1,ymin=-1,ymax=1,size=40,aspect_ratio=1)
    graph_list.append(g)
a=animate(graph_list)
show(a,delay=20)