concat-graphics-0.1.0.0: Graphics via compiling-to-categories
Safe HaskellSafe-Inferred
LanguageHaskell2010

ConCat.Graphics.Image

Description

Very simple image algebra, as in Pan

Synopsis

Documentation

type R2 = R :* R Source #

type Angle = R Source #

uniform :: (R2 -> a) -> R -> a Source #

type Image c = R2 -> c Source #

type Filter c = Unop (Image c) Source #

toImageC :: ToColor c => (p -> c) -> p -> Color Source #

toPImageC :: ToColor c => (a -> p -> c) -> a -> p -> Color Source #

xPos :: Region Source #

Half plane

xyPos :: Region Source #

Opposite quadrants

udisk :: Region Source #

unit disk

disk :: R -> Region Source #

disk

annulus :: R -> R -> Region Source #

Annulus, given outer & inner radii

checker :: Region Source #

Checker-board

frac :: RealFrac a => a -> a Source #