My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 357 attachment: app1.py (321 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
from pymt import *
win = MTWindow()
widget = MTRectangularWidget()
win.add_widget(widget)

anim1 = Animation(duration=1, x=100)
anim2 = Animation(duration=2, y = 200)
anim3 = Animation(duration=1, rotation = 60)

anim_xyrot = anim1 + anim2 + anim3 #Sequencing

widget.do(anim_xyrot)
#animobj.animate(bt)
runTouchApp()
Powered by Google Project Hosting