Portability | GHC |
---|---|
Stability | highly unstable |
Maintainer | stephen.tetley@gmail.com |
Chaining moveable LocGraphics.
- data ChainAlg u
- data IterationScheme u
- chain :: InterpretUnit u => ChainAlg u -> [LocImage u a] -> LocImage u (Point2 u)
- chain_ :: InterpretUnit u => ChainAlg u -> [LocImage u a] -> LocGraphic u
- linear :: IterationScheme u -> ChainAlg u
- prefix :: Int -> ChainAlg u -> ChainAlg u -> ChainAlg u
- iterationScheme :: (Point2 u -> st) -> (st -> (st, Point2 u)) -> IterationScheme u
- chainIterate :: (Point2 u -> Point2 u) -> ChainAlg u
- chainH :: Num u => u -> ChainAlg u
- chainV :: Num u => u -> ChainAlg u
- tableRight :: Num u => Int -> (u, u) -> ChainAlg u
- tableDown :: Num u => Int -> (u, u) -> ChainAlg u
- radialChain :: Floating u => u -> Radian -> Radian -> ChainAlg u
Documentation
Chain algorithm.
Linear
simply iterates points.
Prefix
runs the left chain n
times then runs the right
chain from the end point of the left chain.
data IterationScheme u Source
chain :: InterpretUnit u => ChainAlg u -> [LocImage u a] -> LocImage u (Point2 u)Source
Returns the end point...
chain_ :: InterpretUnit u => ChainAlg u -> [LocImage u a] -> LocGraphic uSource
Returns no answer, just a LocGraphic
.
linear :: IterationScheme u -> ChainAlg uSource
iterationScheme :: (Point2 u -> st) -> (st -> (st, Point2 u)) -> IterationScheme uSource
chainIterate :: (Point2 u -> Point2 u) -> ChainAlg uSource
tableRight :: Num u => Int -> (u, u) -> ChainAlg uSource