On Mon, Sep 12, 2011 at 4:47 PM, Danny Yoo <d...@cs.wpi.edu> wrote: > I wanted to share another small web-world demonstration in Whalesong. > > Try this in Google Chrome: > > http://hashcollision.org/whalesong/examples/boid/boid.html > > Source code: > > http://hashcollision.org/whalesong/examples/boid/boid.rkt > http://hashcollision.org/whalesong/examples/boid/index.html > > > What makes this program interesting is that I really am only touching > the left and top css attributes on each clock tick, as opposed to > redrawing the whole scene (as would be demanded in a regular world > program). Inspect Element in Chrome should bear this out.
Danny: why do you think that changing those elements does less work than what happens when you create a new scene with the 2htdp/universe version of this program? Robby _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users