foamyguy
d06c5ca9df
change to ruff
2025-05-16 16:29:36 +00:00
foamyguy
6ef0715b77
integer division
2024-12-16 14:47:32 -06:00
foamyguy
bac273b46d
rainbow commet fix for tail_length > 256
2024-12-13 11:52:07 -06:00
Alec Delaney
b101ab80e8
Merge pull request #108 from tlyu/rainbowcomet-init
...
rainbowcomet: add missing arg initing base class
2023-01-23 19:49:06 -08:00
Taylor Yu
a2c36c659a
fix doc of bounce
...
Fix documentation of the default `bounce` value for `Comet` and
`RainbowComet`.
Signed-off-by: Taylor Yu <code@argon.blue>
2023-01-22 14:50:21 -06:00
Taylor Yu
58bc776678
rainbowcomet: add missing arg initing base class
...
In RainbowComet, the call to `super().__init__()` was missing the
`background_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 setting `bounce=True` resulted in a reversed
rainbow comet.
Signed-off-by: Taylor Yu <code@argon.blue>
2023-01-22 14:38:02 -06:00
dherrada
4ada0c2017
Ran pre-commit, added licenses
2021-01-12 10:37:24 -05:00
Roy Hooper
d9fe17e91a
remove self from copyright, authors
2020-08-16 20:34:18 -04:00
Roy Hooper
65376c68e4
blackness
2020-07-10 17:45:26 -04:00
Roy Hooper
2af26b7a66
add ring support - #42
2020-07-10 17:42:21 -04:00
Roy Hooper
7b5ba8222e
fix color setting so that animations like blink aren't reset on color setting
2020-06-22 17:50:16 -04:00
Roy Hooper
1a59bc869b
bugfixes and rainbowcomet adjustments
2020-05-30 18:33:22 -04:00
Roy Hooper
6c7ef3aaac
fix for rainbowcomet on regular python ( Fixes #32 )
2020-05-27 20:08:01 -04:00
Kattni Rembor
b7305e8652
Add examples, bugfixes.
2020-05-22 13:00:46 -04:00
Kattni Rembor
74b0f6c12c
Docs, pylint.
2020-05-17 15:00:13 -04:00
Roy Hooper
cdd61d6be1
split library up further to help with low memory boards
2020-05-16 14:11:17 -04:00