Godtone
Joined 17 December 2020
| 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 | 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) | ||