Lines Matching refs:numchips
52 def constant(numchips): argument
53 step = 255.0 / (numchips - 1)
56 while numchips > 0:
59 numchips = numchips - 1
63 def constant_red_generator(numchips, red, green, blue): argument
64 seq = constant(numchips)
65 return map(None, [red] * numchips, seq, seq)
68 def constant_green_generator(numchips, red, green, blue): argument
69 seq = constant(numchips)
70 return map(None, seq, [green] * numchips, seq)
73 def constant_blue_generator(numchips, red, green, blue): argument
74 seq = constant(numchips)
75 return map(None, seq, seq, [blue] * numchips)
78 def constant_cyan_generator(numchips, red, green, blue): argument
79 seq = constant(numchips)
80 return map(None, seq, [green] * numchips, [blue] * numchips)
83 def constant_magenta_generator(numchips, red, green, blue): argument
84 seq = constant(numchips)
85 return map(None, [red] * numchips, seq, [blue] * numchips)
88 def constant_yellow_generator(numchips, red, green, blue): argument
89 seq = constant(numchips)
90 return map(None, [red] * numchips, [green] * numchips, seq)
169 numchips = _NUMCHIPS, argument
178 self.__numchips = numchips
186 canvaswidth = numchips * (chipwidth + 1)