[racket] fruit flies
On iPhone3, I get 25 Log errors like:
JavaScript Log 1195.
Others are on 1299, 1204, 1222...
It shows 10 horizontal bars of various colors.
RAC
On Sep 12, 2011, at 11:47 AM, 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