Re: Morphic animation, c'est lent.

FERRERE Frédéric <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.french
Message-ID <[email protected]>
Bonjour,

Visuellement c'est lent. :)

avec cet exemple on obtient un déplacement qui dure 6s.
300 pixels / 6074ms = 20ms cqfd
              ------

Cycle minimal = 20ms.

Laval Jannik a écrit :
> Salut,
> 
> Tu peux tenter un MessageTally:
> 
> MessageTally spyOn:[
>     (m := Morph new) openInWorld.
>     1 to: 300 do: [:i |
>      m position: m position + (1@1).
>      World doOneCycle]].
> 
> Sous Pharo j'ai eu ces résultats:
> 
> ========
> ========
> - 5992 tallies, 6074 msec.
                   ====
Cordialement,
-- 
Frédéric
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.