Graphical Display of 100,000 objects
Ron Teitelbaum
Ron at USMedRec.com
Tue Mar 28 13:39:16 UTC 2006
Yoshiki,
I see the plugin http://macos.tuwien.ac.at:9009/1033496103.asHtml . I'm
running windows. Do I need more then the dll placed in the main squeak
directory?
Thanks for your help!
Ron Teitelbaum
> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org [mailto:squeak-dev-
> bounces at lists.squeakfoundation.org] On Behalf Of Yoshiki Ohshima
> Sent: Tuesday, March 28, 2006 8:04 AM
> To: The general-purpose Squeak developerslist
> Subject: Re: Graphical Display of 100,000 objects
>
> Ron,
>
> > Ok I'll give it a try and see. I see that it's a 100x100 display, so
> 10,000
> > objects. Each object would be its own turtle, I suppose, and only the
> color
> > needs to change, there is no movement. I'm thinking for what I'm trying
> to
> > show that will probably be good.
>
> The size is only the default value. You can change it (err) by
> modifying the class method #defaultDimensions, and of course the
> turtles can overlap with each other, so you can have as many turtles
> as you like in 100x100 or any size of display.
>
> If you create an eToys tile script that looks like:
>
> turtle1 turtleCount <- 10000
> Test turtle1 y < 50
> Yes turtle1 color <- xxx
> No turtle1 color <- yyy
>
> you'll see that you can change the individual turtles' color.
>
> Oh, and don't forget to have the plugin (shared library). In
> practice, that is essential for practical performance. With the
> plugin, you should get 10-20 fps with 100,000 turtles moving on a 1GHz
> or such computer.
>
> -- Yoshiki
>
>
More information about the Squeak-dev
mailing list
|