Hello all
im new to wxPython , and i trying to figure the best way to draw
2d objects/jpgs and animate them across wx.frame
what will be the best way to do this ?
Drawing is usually handled via DCs (Device Contexts). The wxPython
demo has lots of examples. Some people use the openGL through wx's
GLCanvas (I think). I can't remember if float canvas supports
animation or not.
Alternatively, you might look at pyglet or pygame.
···
On Dec 30, 7:06 am, umen <meiry...@gmail.com> wrote:
Hello all
im new to wxPython , and i trying to figure the best way to draw
2d objects/jpgs and animate them across wx.frame
what will be the best way to do this ?
-------------------
Mike Driscoll
Blog: http://blog.pythonlibrary.org
PyCon 2010 Atlanta Feb 19-21 http://us.pycon.org/
Mike Driscoll wrote:
Drawing is usually handled via DCs (Device Contexts).
yup -- and a drawing triggered by a wx.Timer.
I can't remember if float canvas supports animation or not.
It does -- though you still write the timer stuff yourself. It might be a good choice if you want zooming and panning.
-Chris
···
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov