Skip to main content

gradients - rev109

gradients in pygame without using numeric

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.


bugfixed the chart, it was reversed in y direction


Home Page


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 account Comments

  • raubana 2014-02-19 19:44

    Very impressive! Runs amazingly fast.

  • Teodor Halvadzhiev 2014-12-23 13:56

    Is there any way I could use stopping points and gradients between multiple colours?

  • Johan 2017-05-04 18:36

    Where can you download this? The link appears to be broken?