yes
This commit is contained in:
parent
2fb75fbe43
commit
c14e162348
@ -11,8 +11,8 @@ import qualified Data.Vector as V
|
|||||||
import System.Random ( randomRIO )
|
import System.Random ( randomRIO )
|
||||||
|
|
||||||
-- Adjust value according to coefficients
|
-- Adjust value according to coefficients
|
||||||
adjustValue :: LAB(lightness) -> Float-> Float -> Float -> Int
|
adjustValue :: Float -> Float-> Float -> Float -> Int
|
||||||
adjustValue v a b x = v*(a*x+b)
|
adjustValue v a b x = round v*(a*x+b)
|
||||||
|
|
||||||
-- | Extract the primary scale from a pallete.
|
-- | Extract the primary scale from a pallete.
|
||||||
primary :: V.Vector a -> V.Vector a
|
primary :: V.Vector a -> V.Vector a
|
||||||
|
Loading…
Reference in New Issue
Block a user