From: Ari H. <ahe...@an...> - 2000-12-27 19:55:20
|
On Wed, 27 Dec 2000, Bruce Sherwood wrote: > --On Friday, December 15, 2000 4:22 PM +0100 Markus Gritsch > <gr...@iu...> wrote: > > > It would be nice if the visualization thread could be somehow > > synchronized with the thread running the Python script. The problem [snip] > > while 1: > > visual.stop() # suspend the visualization thread > > doMyCalculations() > > visual.start() # resume the visualization thread > > visual.rate(30) better yet, a way to just set visual to explicit render mode. then you say while 1: rate(30) doCalc() visual.render() |