Do you remember the game
Black and White and and its novel approach to UI control? The player used the mouse to draw gestures. These gestures were recognized by the game and controlled large parts of the game.
Inspired by an article published on
GameDev.net, I reimplemented the stuff for single stroke gestures in Python. You can download the gestures class
here. Additionally, you will need the
Vector2D class
published earlier. Both classes are well documented and I will publish some usage examples within the next days.