[racket] fruit flies

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Mon Sep 12 21:08:05 EDT 2011

On Mon, Sep 12, 2011 at 4:47 PM, Danny Yoo <dyoo at 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?


Posted on the users mailing list.