[Haskell-cafe] diagrams

Dominic Steinitz dominic at steinitz.org
Sun Jun 22 10:47:30 UTC 2014

> Message: 3
> Date: Fri, 20 Jun 2014 13:30:29 -0700
> From: Joachim Breitner <mail at joachim-breitner.de>
> To: haskell-cafe at haskell.org
> Subject: Re: [Haskell-cafe] diagrams
> Message-ID: <1403296229.16156.3.camel at kirk>
> Content-Type: text/plain; charset="utf-8"
> Hi,
> Am Mittwoch, den 18.06.2014, 23:44 -0400 schrieb Anthony Cowley:
>>> I have no doubt that diagrams can make the diagrams themselves. What
>>> I wonder about is the animation capabilities---ability to have
>>> elements move or cross-fade (dissolve), in particular.
> I very recently created this animation with diagrams, which does move
> and fade stuff:
> http://joachim-breitner.de/publications/haskell_bytes_portland_2014-06-13.webm
> But the ride was not as smooth as it should have been. See
> https://gist.github.com/nomeata/cde96a2e693a23cca8ee for the code. The
> function positionSpec contains a ?script?, i.e. a sequence of animated
> modifications to the image, using lenses to position the change.
> I guess with the right combinators, this can be greatly simplified, but
> it is hard to come up with the right combinators. Especially as our code
> is one-dimensional, and we want to compose in three dimensions (x, y and
> time).

It’s still a nice example though - thanks for posting it.

Dominic Steinitz
dominic at steinitz.org

More information about the Haskell-Cafe mailing list