Commit Graph

7 Commits

Author SHA1 Message Date
ZyX 9e518ab682 Improve generate_gradients tool
Changes:

- Port argument parsing to argparse
- Add weights support
- Add ability to specify cterm palette
- Purge out first 16 colors from color choosing by default
- Improve different scales and different preview length support
2013-04-13 19:33:41 +04:00
ZyX 1351207462 Some fixes for flake8 2013-03-24 19:59:56 +04:00
ZyX 157b849d33 Make weather gradient configurable, add system_load gradient
Also make gradients floating-point and fix #332 by removing “normalized” from 
system_load segment documentation.
2013-03-24 00:55:54 +04:00
ZyX c92dfae5dc Made tools/*.py executable 2013-03-19 23:25:44 +04:00
ZyX 910dc3e69d Made tools/generate_gradients.py work in python3 2013-03-19 23:25:44 +04:00
ZyX da8647895a Make generate_gradients tool be able to show custom scale 2013-03-19 23:25:44 +04:00
ZyX df19981f65 Add tools/generate_gradients.py and tools/colors_find.py
First helps in generating gradients. Usage:

    python tools/generate_gradients.py '[color1, …]' itemnum[ "show"]
where color is either [100, 127, 46] (cterm colors) or ["ff00ff", "feffef"] (RGB
colors)

Second is to determine what name will be better suitable for some RGB color
2013-03-15 19:31:08 +04:00