On Nov 1, 2007, at 12:20 PM, Mathieu Bouchard wrote: > On Thu, 1 Nov 2007, Martin Peach wrote: > >> It doesn't make sense to update a box or the screen more often >> than once per frame on the viewing device, but of course that >> signal (the vertical retrace or frame sync) is often hard to >> obtain. openGL sometimes has it builtin, does tk? 60Hz is 16.66...ms. > > I'm not recommending to make it go at a rate above the monitor's > rate. Usually, even a third of the monitor's rate is too much for > Tk. I'm not 100% sure what is Tk's refresh rate, I think I've seen > 50 ms (20 Hz). I don't think it ever checks the monitor's rate. > > I thought you were suggesting to use the audio block size?... > anyhow, surely not, as it's much above the frequency of the monitor. >
Using my new [cursor] object and [timer], I was getting mouse motion events every 17-19ms. .hc ------------------------------------------------------------------------ ---- I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits. - Martin Luther King, Jr. _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
