Skip to main content

gradients - same as before

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 are in the screenshot has been generated with it.

Links

Home Page
http://dr0id.homepage.bluewin.ch/pygame_projects.html#gradients
Source
http://dr0id.homepage.bluewin.ch/pygame/gradients_rev109.zip

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

Pygame.org account Comments

  • raubana 2014-02-19 19:44:46

    Very impressive! Runs amazingly fast.

  • Teodor Halvadzhiev 2014-12-23 13:56:19

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