Re: [Tutor] simple animation

2007-01-02 Thread Ketan Maheshwari
That helps. Thanks. Kent Johnson wrote: > Ketan Maheshwari wrote: >> Hi All >> >> I want to create a simple animation on a 2D cartesian plane, wherein >> there are 2 identical circles drawn at an arbitrary distance with >> each other. > > Here is a simple animation written in Tkinter that might

Re: [Tutor] simple animation

2007-01-02 Thread Kent Johnson
Ketan Maheshwari wrote: > Hi All > > I want to create a simple animation on a 2D cartesian plane, wherein > there are 2 identical circles drawn at an arbitrary distance with each > other. Here is a simple animation written in Tkinter that might get you started: http://effbot.org/zone/tkinter-a

Re: [Tutor] simple animation

2007-01-02 Thread Christopher Arndt
Ketan Maheshwari schrieb: > Is it possible to show this scenario as an animation sequence and > capturing the coordinates of the centers of the circles at each step and > stopping the iteration when they get tangential. Have a look at the PyGame library: http://pygame.org Don't be put off be th

[Tutor] simple animation

2007-01-02 Thread Ketan Maheshwari
Hi All I want to create a simple animation on a 2D cartesian plane, wherein there are 2 identical circles drawn at an arbitrary distance with each other. Now the idea is to move the circles randomly with a fixed step size and check the distance between their centers. this uses the formula d=sqr