https://github.com/rofrol/color-gradient-algorithm
https://github.com/rofrol/color-gradient-algorithm
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/rofrol/color-gradient-algorithm
- Owner: rofrol
- Created: 2019-11-18T20:11:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T20:49:49.000Z (over 6 years ago)
- Last Synced: 2025-07-03T13:58:50.675Z (about 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

Based on https://stackoverflow.com/questions/22607043/color-gradient-algorithm/49321304#49321304
## Install
```bash
$ sudo apt install python3-pip
$ pip3 install pil
$ python3 main.py
```
## Links
- https://www.guru99.com/learn-python-main-function-with-examples-understand-main.html
- https://stackoverflow.com/questions/12024397/no-module-named-image/32166371#32166371
- https://stackoverflow.com/questions/24320630/global-name-sqrt-not-defined#24320645
- https://stackoverflow.com/questions/5366936/python-image-library-create-and-paste-image
- lerp https://en.m.wikipedia.org/wiki/Linear_interpolation