How to write an animation (Matrix) in python

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Asker3
    New Member
    • Oct 2011
    • 1

    How to write an animation (Matrix) in python

    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
  • bvdet
    Recognized Expert Specialist
    • Oct 2006
    • 2851

    #2
    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.

    Comment

    Working...