Safe Haskell | None |
---|---|
Language | Haskell2010 |
These are pieces that can be assembled to a control curve.
This was formerly part of the Control
module
but because of the overlap with immediate control curve generators
I created a new module.
Synopsis
- type T sig a = Piece a a (LazySize -> a -> sig a)
- run :: (C a, Transform (sig a)) => LazySize -> T a a (LazySize -> a -> sig a) -> sig a
- step :: Write sig a => T sig a
- linear :: (C a, Write sig a) => T sig a
- exponential :: (C a, Write sig a) => a -> T sig a
- cosine :: (C a, Write sig a) => T sig a
- halfSine :: (C a, Write sig a) => FlatPosition -> T sig a
- cubic :: (C a, Write sig a) => a -> a -> T sig a
- data FlatPosition
Documentation
halfSine :: (C a, Write sig a) => FlatPosition -> T sig a Source #
Graphics.Gnuplot.Simple.plotList [] $ Sig.toList $ run $ 1 |# (10.9, halfSine FlatRight) #| 2
data FlatPosition Source #