Thursday, January 13, 2011

window jitter command -done

Added a jitter subcommand for gnocl::windows.

Here's the docs entry:

id jitter integer  
'Jitter' or horizontally shake the window for number of times specified by integer (default = 20).
I settled on simply using a number of repetitions as its not very practical trying to set a timer for this event. I found that the time taken to complete a 'jitter' cycle tended to vary. In order to maintain some form of legibility, the jitter is very small (+/- 2 pixels) and just enough to act as a visual attractant.

No comments: