| IFS-0.1: Iterated Function System generation for Haskell | Contents | Index |
|
Graphics.IFS.Ppm | Portability | portable | Stability | experimental | Maintainer | misc@alpheccar.org |
|
|
|
|
|
Description |
Description
Portable Pixel Map
|
|
Synopsis |
|
|
|
|
Color formats
|
|
data Color |
RGB Color
| Constructors | | Instances | |
|
|
Picture Creation
|
|
createPict |
|
|
Some standard colors
|
|
red :: Color |
Red color
|
|
green :: Color |
Gree color
|
|
blue :: Color |
Blue color
|
|
white :: Color |
white color
|
|
black :: Color |
Black color
|
|
Coloring functions
|
|
type ColorizeFunction = Word8 -> [Word8] -> [Word8] |
The type of a coloring functions.
The first argument is an index value and the second argument is a list of RGB value.
The function is assumed to concatenate a new triple of RGB value to the list
|
|
binaryColor |
|
|
densityColor |
:: Int | Scaling factor
| -> Color | Background Color for index null
| -> Color | Foreground Color for index not null
| -> Word8 | Index
| -> [Word8] | List of RGB values
| -> [Word8] | List of RGB values
| Density coloring with linear interpolation
|
|
|
Produced by Haddock version 0.8 |