[Haskell-cafe] Animated line art
andrewcoppin at btinternet.com
Fri Dec 5 14:32:26 EST 2008
Tim Docker wrote:
> Someone else already mentioned FRAN and it's ilk. But perhaps you don't
> need something that fancy. If you implement your drawing logic as a
> function from time to the appropriate render actions, ie
> | import qualified Graphics.Rendering.Cairo as C
> | type Animation = Time -> C.Render ()
> then you just need to call this function multiple times to generate
> sucessive frames.
That was my initial idea... but I'm not sure how well it would work. I
want to do stuff like fade elements in and out, move complex structures
around on the screen, etc. I think it might end up being a little
tangled if I go with this approach. I might be wrong though...
More information about the Haskell-Cafe