License | BSD-3-Clause |
---|---|
Maintainer | Jeremy Nuttall <jeremy@jeremy-nuttall.com> |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Synopsis
- type Seed = Word64
- type Hash = Int32
- lerp :: Num a => a -> a -> a -> a
- cubicInterp :: Num a => a -> a -> a -> a -> a -> a
- hermiteInterp :: Num a => a -> a
- quinticInterp :: Num a => a -> a
- clamp :: Ord a => a -> a -> a -> a
- primeX :: Hash
- primeY :: Hash
- primeZ :: Hash
- hash2 :: Seed -> Hash -> Hash -> Hash
- hash3 :: Seed -> Hash -> Hash -> Hash -> Hash
- infinity :: Fractional a => a
- g2 :: Fractional a => a
- sqrt3 :: Fractional a => a
- valCoord2 :: RealFrac a => Word64 -> Hash -> Hash -> a
- valCoord3 :: RealFrac a => Word64 -> Hash -> Hash -> Hash -> a
- gradCoord2 :: RealFrac a => Seed -> Hash -> Hash -> a -> a -> a
- gradCoord3 :: RealFrac a => Seed -> Hash -> Hash -> Hash -> a -> a -> a -> a
- maxHash :: RealFrac a => a
Documentation
cubicInterp :: Num a => a -> a -> a -> a -> a -> a Source #
cubic interpolation
hermiteInterp :: Num a => a -> a Source #
hermite interpolation
quinticInterp :: Num a => a -> a Source #
quintic interpolation
infinity :: Fractional a => a Source #
g2 :: Fractional a => a Source #
sqrt3 :: Fractional a => a Source #