| Copyright | (c) 2011 Brent Yorgey |
|---|---|
| License | BSD-style (see LICENSE) |
| Maintainer | byorgey@cis.upenn.edu |
| Safe Haskell | None |
| Language | Haskell2010 |
Diagrams.Animation.Active
Description
A few utilities and class instances for Active (from the active
package). In particular, this module defines
- An instance of
VforActive:V(Activea) =Va HasOrigin,Transformable, andHasStyleinstances forActivewhich all work pointwise.- A
TrailLikeinstance forwhereActiveppis alsoTrailLike, which simply lifts a pathlike thing to a constant active value. - A
Juxtaposableinstance forwhereActiveaais alsoJuxtaposable. An active value can be juxtaposed against another by doing the juxtaposition pointwise over time. The era ofjuxtapose v a1 a2will be the same as the era ofa2, unlessa2is constant, in which case it will be the era ofa1. (Note thatjuxtapose v a1 a2andliftA2 (juxtapose v) a1 a2therefore have different semantics: the second is an active value whose era is the combination of the eras ofa1anda2). - An
Alignableinstance forwhereActiveaais alsoAlignable; the active value is aligned pointwise over time.