Commit cc0971b6 authored by Ture Pålsson's avatar Ture Pålsson

Order colours as a 6x6x6 matrix

parent 55429642
......@@ -14,9 +14,14 @@ def c():
for col in range(0, columns):
c = col * rows + row
red = ff(c // 36)
green = ff((c // 6) % 6)
blue = ff(c % 6)
if False:
red = ff(c // 36)
green = ff((c // 6) % 6)
blue = ff(c % 6)
else:
red = ff(row // 6)
green = ff(row % 6)
blue = ff(col)
fgcolor = (0, 0, 0) if light(red, green, blue) else (1, 1, 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment