
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
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.
-Greg