#proce55ing supports 2-D #graphics blend modes other than just alpha compositing: BLEND (B := A·factor + B), ADD (B := A·factor + B ∧ 255), SUBTRACT (B := B - A·factor ∨ 0), DARKEST (B := A·factor ∧ B), LIGHTEST (B := A·factor ∨ B), DIFFERENCE, EXCLUSION, MULTIPLY (as values from 0–1 I guess), SCREEN (“opposite multiply”??), and REPLACE (ignoring alpha). The older blend() function also supports HARD_LIGHT, SOFT_LIGHT, OVERLAY, DODGE, and BURN.
#ebook with #Proce55ing #explorable-explanations of how to do different kinds of #graphics and physics effects in code
on 02017-05-30mixing #Clojure with #Proce55ing with a bunch of examples from Matt Pearson’s book Generative Art
on 02017-05-09step-by-step evolution of a program in #Proce55ing.
on 02015-12-04