Gradient Triangles
2015-10-11, post № 72
programming, Pygame, Python, #3-gon, #background, #gradient, #triangles, #vector, #vector mathematics, #vectors, #wallpaper
This program uses vector mathematics and colors to create triangular gradient. By simply left-clicking you create three points which then will be filled in with color.
Controls
- Left click adds a new position,
- ‘Space’ saves a screenshot.
Source code: gradient-triangles.py
Extra assets: gradient-triangles-3.png