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
> I've added your instance below (exactly how this sort of thing comes out for meCool, I updated my Bounce example to reactive-fieldtrip-0.0.4. It now
> as well), used in Test.hs, and pushed & released reactive-fieldtrip-0.0.4.
bounces pairs of spinning torus pairs on left mouse clicks. Comments
welcome.
http://hpaste.org/12365
-Greg