Godtone (talk | contribs)
Godtone (talk | contribs)
Line 1,176: Line 1,176:
# note that i chose the +0.4 experimentally based on the colour palette that seemed most distinct to me.
# note that i chose the +0.4 experimentally based on the colour palette that seemed most distinct to me.
def cols(cs, n, offset=0.4):
def cols(cs, n, offset=0.4):
return [ cs[(round( i/n*len(cs) )+offset)%len(cs)] for i in range(n) ]
return [ cs[(round( i/n*len(cs)+offset )%len(cs)] for i in range(n) ]
rb17v2 = cols(rb29,17)
rb17v2 = cols(rb29,17)
rb19 = cols(rb29,19)
rb19 = cols(rb29,19)