By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,100 Members | 2,846 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,100 IT Pros & Developers. It's quick & easy.

How to write an animation (Matrix) in python

P: 1
Hello,

I would like to write a matrix animation, but I don't know what to do (What I need for beginning), I have never written anything GUI, I used to write only in console.

I don't want a ready-made code, Just please say what I need to know, what should I read to write so application.

Greetings
Oct 14 '11 #1

✓ answered by bvdet

Using Tkinter, there is more than one way to approach this. One way would be to create a canvas on a top-level window with a rectangular grid of widgets (the possibilities are almost endless). Use widget method after() (Usage: w.after ( delay_ms, callback=None, *args )) to request a call to function callback. Each time callback is called the next matrix of the animation would be created.

There are several good resources on the internet to learn Tkinter.

Share this Question
Share on Google+
1 Reply


bvdet
Expert Mod 2.5K+
P: 2,851
Using Tkinter, there is more than one way to approach this. One way would be to create a canvas on a top-level window with a rectangular grid of widgets (the possibilities are almost endless). Use widget method after() (Usage: w.after ( delay_ms, callback=None, *args )) to request a call to function callback. Each time callback is called the next matrix of the animation would be created.

There are several good resources on the internet to learn Tkinter.
Oct 14 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.