Closed tlyu closed 1 year ago
Good catch! It looks like that argument is typically Tuple[int, int, int]
though. Does this work if the provided argument is just int
?
I think so. It should take any input that is acceptable as an element of the contained pixels object, which I believe includes int
.
In RainbowComet, the call to
super().__init__()
was missing thebackground_color
argument. This caused strange effects when non-default arguments were passed.For example, setting
reverse=True
resulted a red comet with a tail length of 1, and settingbounce=True
resulted in a reversed rainbow comet.