yes
This commit is contained in:
parent
5aebdf595b
commit
2674f130a3
@ -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
|
||||||
stringToFloat :: (LAB(lightness), Float, Float, Float) -> LAB(lightness)
|
adjustValue :: (Int, Float, Float, Float) -> Int
|
||||||
stringToFloat (V,a,b,x) = V*(a*x+b)
|
adjustValue (V,a,b,x) = 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