[Newbies] Morphic - How to animate without defining #step ?

2008-01-20 Thread Oscar Nierstrasz
Hi Folks, I have been struggling with Morphic animation. I would like to animate some different algorithms that compute solutions to various puzzles. (It is for an introduction to Squeak for high school students.) Normally animations in Morphic are done by defining the #step method.

Re: [Newbies] Morphic - How to animate without defining #step ?

2008-01-20 Thread Edgar J. De Cleene
El 1/20/08 7:29 AM, Oscar Nierstrasz [EMAIL PROTECTED] escribió: Hi Folks, I have been struggling with Morphic animation. I would like to animate some different algorithms that compute solutions to various puzzles. (It is for an introduction to Squeak for high school students.)

Re: [Newbies] Morphic - How to animate without defining #step ?

2008-01-20 Thread Herbert König
Hello Oscar, not sure if I understand you correctly but if I need something displayed *now* I either use bitBlt (as long as its only simple rectangles) or WorlddoOneCycleNow. Reading the comment there it sholdn't be done this way but whenever I have a busy algorithm and I want the display

Re: [Newbies] Morphic - How to animate without defining #step ?

2008-01-20 Thread Oscar Nierstrasz
Cool! That works. I added redraw doRedraw ifTrue: [self currentWorld doOneCycleNow] doRedraw doRedraw := true. dontRedraw doRedraw := false. so I can turn redrawing on and off. - on On Jan 20, 2008, at 13:07, Herbert König wrote: Hello Oscar, not sure if I