[racket] fruit flies

From: Rodolfo Carvalho (rhcarvalho at gmail.com)
Date: Mon Sep 12 18:59:43 EDT 2011

Very cool example!

I tested on Chrome (13.0.782.220) and Firefox (6.0.2) on Ubuntu 10.10.
On Chrome the "fruit-flies" dance nicely, and, on Firefox, Firebug shows me
the <body> is empty (and indeed nothing is seen, white screen).


Rodolfo Carvalho

On Mon, Sep 12, 2011 at 18:47, 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.
> I should probably call this program "fruit-flies".  In any event, this
> works on Chrome, but I haven't been able to successfully make it run
> under other browsers.  I've heard that it works in Safari 5.1 as well.
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110912/20f5b8ed/attachment.html>

Posted on the users mailing list.