Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger

Name

Mischfarb()

Examples
example pic
Farb orange = Farb(204, 102, 0);
Farb blue = Farb(0, 102, 153);
Farb orangeblueadd = Mischfarb(orange, blue, ADD);
Hintergrund(51);
kei_Liniefarb();
Fuellfarb(orange);
Viereck(14, 20, 20, 60);
Fuellfarb(orangeblueadd);
Viereck(40, 20, 20, 60);
Fuellfarb(blue);
Viereck(66, 20, 20, 60);
Description Blends two Farb values together based on the blending mode given as the MODE parameter. The possible modes are described in the reference for the misch() function.
Syntax
Mischfarb(c1, c2, MODE)
Parameters
c1 Farb: the first Farb to blend
c2 Farb: the second Farb to blend
MODE Either BLEND, ADD, SUBTRACT, DARKEST, LIGHTEST, DIFFERENCE, EXCLUSION, MULTIPLY, SCREEN, OVERLAY, HARD_LIGHT, SOFT_LIGHT, DODGE, or BURN
Usage Web & Application
Related misch()
Farb()
Stefan Baltensperger 2009

Creative Commons License