Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: deceleration !

From: anton:lexicon at: 11-Oct-2002 11:48

The effect draw block is growing each time you add a new line or circle to draw. Each time show b is called, everything in the draw block is drawn. So as it grows, so it slows. A solution is to capture b's image once every while or perhaps every iteration, with: img: to-image b and clear the draw block at the same time. Then set b's image like this: b/image: img and at the next iteration, draw on top of that. Anton.