Very cool example!<div><br></div><div>I tested on Chrome (13.0.782.220) and Firefox (6.0.2) on Ubuntu 10.10.</div><div>On Chrome the "fruit-flies" dance nicely, and, on Firefox, Firebug shows me the <body> is empty (and indeed nothing is seen, white screen).</div>
<div><br></div><div>[]'s</div><div><br clear="all">Rodolfo Carvalho<br>
<br><br><div class="gmail_quote">On Mon, Sep 12, 2011 at 18:47, Danny Yoo <span dir="ltr"><<a href="mailto:dyoo@cs.wpi.edu">dyoo@cs.wpi.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I wanted to share another small web-world demonstration in Whalesong.<br>
<br>
Try this in Google Chrome:<br>
<br>
<a href="http://hashcollision.org/whalesong/examples/boid/boid.html" target="_blank">http://hashcollision.org/whalesong/examples/boid/boid.html</a><br>
<br>
Source code:<br>
<br>
<a href="http://hashcollision.org/whalesong/examples/boid/boid.rkt" target="_blank">http://hashcollision.org/whalesong/examples/boid/boid.rkt</a><br>
<a href="http://hashcollision.org/whalesong/examples/boid/index.html" target="_blank">http://hashcollision.org/whalesong/examples/boid/index.html</a><br>
<br>
<br>
What makes this program interesting is that I really am only touching<br>
the left and top css attributes on each clock tick, as opposed to<br>
redrawing the whole scene (as would be demanded in a regular world<br>
program). Inspect Element in Chrome should bear this out.<br>
<br>
I should probably call this program "fruit-flies". In any event, this<br>
works on Chrome, but I haven't been able to successfully make it run<br>
under other browsers. I've heard that it works in Safari 5.1 as well.<br>
<br>
_________________________________________________<br>
For list-related administrative tasks:<br>
<a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a></blockquote></div><br></div>