rsagl- The RogueStar Animation and Graphics Library




rgba :: RSdouble -> RSdouble -> RSdouble -> RSdouble -> RGBASource

Construct an RGBA color.

minRGB :: RGB -> RSdoubleSource

Get the minimum of the three RGB components.

invertRGB :: RGB -> RGBSource

Arithmetic inverse of a color.

filterRGBLinear :: RGB -> RGB -> RGB -> RGBSource

maps an RGB color between a black point and a white point. The first parameter, the black point, will map to RGB 0 0 0. The second parameter, the white point, will map to RGB 1 1 1.