Copyright | (c) Francesco Gazzetta 2017 |
---|---|
License | BSD3 (see the file LICENSE) |
Maintainer | francygazz@gmail.org |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Squares style for the identicon package.
Documentation
type Squares n = (Identicon (3 + NecessaryBytes n) :+ Consumer (NecessaryBytes n)) :+ Consumer 3 Source #
A grid of colored squares on a white background, with vertical symmetry.
The argument n
represents the number of columns on one side of the simmetry,
excluding the central column. For example Squares 3
produces a 7x7 square (5=3*2+1).
To have a github-like style, use Squares 2