
4 Dec
2008
4 Dec
'08
6:46 p.m.
It seems that the "correct" course of action is to design a DSL for declaratively describing animated line art. Does anybody have ideas about what such a thing might look like?
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. Tim