-
New features
-
New module
Diagrams.Color.HSV
with anhsvBlend
function for blending colors in HSV space. -
Diagrams logo code is now in
Diagrams.Example.Logo
. -
New symmetric layout algorithm for binary trees in
Diagrams.TwoD.Layout.Tree
.
-
-
Bug fixes
- Fix a bug in
Diagrams.TwoD.Path.Turtle
which sometimes caused it to output a doubled path (#13).
- Fix a bug in
-
New features
-
New
Diagrams.TwoD.Path.IteratedSubset
module, for constructing paths using an "iterated subset" algorithm (repeatedly replacing segments with a given path). -
New
Diagrams.TwoD.Layout.CirclePacking
module for circle-packing layout -
New
Diagrams.TwoD.Factorization
module, for creating "factorization diagrams" as seen at http://mathlesstraveled.com/2012/11/05/more-factorization-diagrams/ and on the cover of Hacker Monthly (http://mathlesstraveled.com/2012/10/05/factorization-diagrams/). -
Diagrams.TwoD.Path.Turtle
: generalizerunTurtle
function, and add new functionsdrawTurtle
andsketchTurtle
.drawTurtle
results in a diagram (like the oldrunTurtle
), andsketchTurtle
yields a path (ignoring pen style commands).
-
-
Documentation
- Added lots of example images using
diagrams-haddock
- Added lots of example images using
- bump upper bound to allow QuickCheck-2.6
- Switch to explicit import list for Control.Lens to avoid name conflicts
- Require lens-3.8
- Update dependencies of tests
-
New features
-
New pure implementation of Turtle library, in
Turtle.Internals
-
Diagrams.TwoD.Layout.Tree
: -
New
renderTree'
function which gives the edge-drawing function access to the values stored at the nodes instead of just the node positions. -
The type of
renderTree
is generalized to work with anyQDiagram b R2 m
.
-
-
Bug fixes
- Tiling generation code in
Diagrams.TwoD.Tilings
wasn't actually checking whether vertexes had been already visited.
- Tiling generation code in
-
Dependency/version changes
- Switch from
fclabels
tolens
- Switch from
- bump
mtl
(< 2.2) anddata-default
(< 0.5) upper bounds
- Add Andrew Kennedy's symmetric rose tree layout algorithm to
Diagrams.TwoD.Layout.Tree
Initial release, containing:
-
Diagrams.Layout.Wrap
, for laying out diagrams "wrapped" inside an arbitrary region (Michael Sloan) -
Diagrams.TwoD.Tilings
, for generating various 2D regular tilings (Brent Yorgey) -
Diagrams.TwoD.Apollonian
, for generating Apollonian gaskets (Brent Yorgey) -
Diagrams.TwoD.Layout.Tree
, tree layout and drawing algorithms (Brent Yorgey) -
Diagrams.TwoD.Path.Turtle
, creation of 2D paths using a stateful "turtle" interface (Michael Sloan)