[Haskell-cafe] Animated line art

Ben Lippmeier Ben.Lippmeier at anu.edu.au
Thu Dec 4 21:19:31 EST 2008

On 05/12/2008, at 10:46 AM, 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.

The ANUPlot graphics library I wrote does exactly this.
The darcs repo is at http://code.haskell.org/ANUPlot/ANUPlot-HEAD/
It comes with lots of examples that do the sort of things you describe.


More information about the Haskell-Cafe mailing list