xiwal

Generate terminal color schemes
git clone https://git.ce9e.org/xiwal.git

commit
addca79faa7c3e74ea64f74ac267519200eb8677
parent
86bfb53524a9ce618754912c349f258291752443
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-11-15 07:22
refine offset (again)

Diffstat

M xiwal.py 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/xiwal.py b/xiwal.py

@@ -128,7 +128,7 @@ def permutate(a, n):
  128   128 				yield (a[i], *rest)
  129   129 
  130   130 
  131    -1 def distance(color, i, offset=math.pi * 2 / 12):
   -1   131 def distance(color, i, offset=math.pi * 2 / 15):
  132   132 	hue = math.pi / 3 * i + offset
  133   133 	d = abs(color[2] - hue)
  134   134 	c = color[1]