[Haskell-cafe] Animated line art
andrewcoppin at btinternet.com
Thu Dec 4 16:54:00 EST 2008
So, the muse has taken me. I'm going to attempt to produce some animated
mathematical drawings involving lines and curves.
Gtk2hs has a Cairo binding that should make rendering the stuff fairly
straight-forward. So no problems there.
Now, what I *could* do is write a new Haskell program for each drawing I
want, hard-coding in the necessary imperative loops for updating
coordinates, looping over multiple lines, etc. But that wasn't be very
Haskell, would it? ;-)
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?
More information about the Haskell-Cafe