compileIt for revolution?

Richard Gaskin ambassador at fourthworld.com
Wed Jun 22 19:52:56 EDT 2005


MisterX wrote:
> Gordon, 
> 
> Beware that even i surprise myself with newby tricks.
> 
> I just posted a "slow" fractal moire maker. It creates beautiful patterns
> and the detail is amazing but it does so creating some 40000 graphics in a
> card. For the truely beautiful patterns, it took 300000 graphics! The making
> can still be optimized but deleting images cannot be done like words in a
> field! Delete graphic 1 to -1 or delete all graphics doesn't work. 
> 
> i have the patience to create these graphics and see them rendered. But when
> it comes to getting rid of them, no way! And the clearGraphics routine took
> foreever! 200 graphics per second... You do the math - many minutes wasted
> waiting to create a better pattern.
> 
> The trick was to create all the graphics in a group.
> when the graphic is done, delete the group. 
> 
> 300000 graphics deleted in 2 seconds.

And as Geoff Canyon discovered, you can go one step further by drawing 
all polygons as a single object, but just including a blank line in the 
points property wherever you want a discontiguous object.

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________________
  Ambassador at FourthWorld.com       http://www.FourthWorld.com


More information about the use-livecode mailing list