liveplot-0.1.0.0: Liveplotting

Safe HaskellNone
LanguageHaskell2010

Graphics.Liveplot.Utils

Synopsis

Documentation

dbg :: Show a => View a Source #

moveCam :: (Conjugate a, Epsilon a, RealFloat a) => Set Key -> Camera a -> Camera a Source #

Translate and rotate a Camera based on UI input.

cnf :: (Foldable s, Foldable t) => s (t Bool) -> Bool Source #

Evaluate a boolean formula in conjunctive normal form (CNF) by applying the predicate to each atom according to the logic of its nesting in the formula.

cnfEndo :: (k -> s -> Bool) -> (k -> s -> s) -> [([[k]], a -> a)] -> s -> a -> a Source #

Perform a left fold over a set of guarded update functions, evaluating the guards left-to-right. For each guard that passes, its associated update function is composed into a final composite update function.

rpad :: Int -> a -> [a] -> [a] Source #

normalize :: (Fractional b, Monad m) => (b, b) -> Pipe b b m r Source #