[reactive] Transforming Behaviors

Conal Elliott conal at conal.net
Mon Nov 24 14:18:26 EST 2008

Hi Greg,

I don't think anyone has implemented an instance for static transformations
of dynamic geometry.  Ought to be easy, though.  Also dynamic transformation
of static geometry and dynamic transformation of dynamic geometry.  And the
corresponding three additional instances for 2D geometry.  All six would be
very useful.

So I don't forget, would you please submit a ticket to either
http://trac.haskell.org/reactive or http://trac.haskell.org/FieldTrip ?

You might also enjoy adding these instances yourself.  Patches are very

Thanks,  - Conal

On Mon, Nov 24, 2008 at 10:27 AM, Greg Fitzgerald <garious at gmail.com> wrote:

> Should it be possible to write this:
> spinningTorusPair :: Double -> Behavior Geometry3
> spinningTorusPair sz = uscale3 sz *% spinningG torusPair
> Instead of this:
> spinningTorusPair :: Double -> Behavior Geometry3
> spinningTorusPair sz = (uscale3 sz *%) <$> spinningG torusPair
> That is, should a Behavior of something transformable be an instance
> of Transform as well?  Has anyone tried to implement this instance?
> Thanks,
> Greg
> _______________________________________________
> Reactive mailing list
> Reactive at haskell.org
> http://www.haskell.org/mailman/listinfo/reactive
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/reactive/attachments/20081124/bcb9b936/attachment.htm

More information about the Reactive mailing list