gradients - rev106
gradients in pygame without using numeric
DR0ID
(dr0id)
gradients
in any dirction, line-, circular- or rectangular-shaped. Each color can
have its own function for non linear gradients and maximal control of
the gradient characteristic. All this in a easy to use
function.
There is even amore powerfull function, actually a highfiled drawer. The pattern in the small rectangular areas in the screenshot have been generated with it.
There is even amore powerfull function, actually a highfiled drawer. The pattern in the small rectangular areas in the screenshot have been generated with it.
Changes
Split the different kinds of gradients into own functions. There are new functions too. Check out the demo. Numeric is only 2-3 times faster. If you know a faster way to do gradients in pure python/pygame please tell me.
Links
Releases
gradients gradients — 5 Oct, 2006
gradients rev109 — 9 Aug, 2007
gradients rev106 — 9 Aug, 2007
gradients same as before — 12 Oct, 2008
gradients same as before — 17 Jan, 2011
gradients same as before — 25 Jan, 2018