[Fieldtrip] Re: [reactive] Transforming Behaviors

Conal Elliott conal at conal.net
Tue Nov 25 13:57:27 EST 2008


Wow.  What fun, Greg!!  I really love this simple example.

I annotated your post with a tweaked version, to make the rotations
different and have opposite directions.

I can see there's a performance problem somewhere in reactive that's causing
the animation to slow down with more button clicks.  Even worse, under ghci,
additional runs are slow from the start.  I guess that means there are still
some running threads.  Clearly some work to be done in the implementation.

 - Cona

On Tue, Nov 25, 2008 at 10:10 AM, Greg Fitzgerald <garious at gmail.com> wrote:

> > I've added your instance below (exactly how this sort of thing comes out
> for me
> > as well), used in Test.hs, and pushed & released
> reactive-fieldtrip-0.0.4.
>
> Cool, I updated my Bounce example to reactive-fieldtrip-0.0.4.  It now
> bounces pairs of spinning torus pairs on left mouse clicks.  Comments
> welcome.
>
> http://hpaste.org/12365
>
> -Greg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/fieldtrip/attachments/20081125/2f2d8f8b/attachment.htm


More information about the FieldTrip mailing list