Kinetic: kinetic abstraction
Kinetic container. All widgets inside this container will have the kinetic applied to the touches. Kinetic is applied only if an children is touched on on_touch_down event.
Kinetic will enter in the game when the on_touch_up append. Container will continue to send on_touch_move to children, until the velocity Vector is under velstop and sending on_touch_up
from pymt import * k = MTKinetic() # theses widget will have kinetic movement k.add_widget(MTScatterSvg(filename='sun.svg')) k.add_widget(MTScatterSvg(filename='cloud.svg')) w = MTWindow() w.add_widget(k) runTouchApp()
Processing of kinetic, called in draw time.