|
32 | 32 | pixels = neopixel.NeoPixel(pixel_pin, pixel_num, brightness=0.2, auto_write=False)
|
33 | 33 |
|
34 | 34 | blink = blink_animation.Blink(pixels, speed=0.5, color=JADE)
|
35 |
| -colorcycle = colorcycle_animation.ColorCycle(pixels, speed=0.4, colors=[MAGENTA, ORANGE]) |
36 |
| -comet = comet_animation.Comet(pixels, speed=0.01, color=PURPLE, tail_length=10, bounce=True) |
| 35 | +colorcycle = colorcycle_animation.ColorCycle( |
| 36 | + pixels, speed=0.4, colors=[MAGENTA, ORANGE] |
| 37 | +) |
| 38 | +comet = comet_animation.Comet( |
| 39 | + pixels, speed=0.01, color=PURPLE, tail_length=10, bounce=True |
| 40 | +) |
37 | 41 | chase = chase_animation.Chase(pixels, speed=0.1, size=3, spacing=6, color=WHITE)
|
38 | 42 | pulse = pulse_animation.Pulse(pixels, speed=0.1, period=3, color=AMBER)
|
39 | 43 | sparkle = sparkle_animation.Sparkle(pixels, speed=0.1, color=PURPLE, num_sparkles=10)
|
40 | 44 | solid = solid_animation.Solid(pixels, color=JADE)
|
41 | 45 | rainbow = rainbow_animation.Rainbow(pixels, speed=0.1, period=2)
|
42 |
| -sparkle_pulse = sparklepulse_animation.SparklePulse(pixels, speed=0.1, period=3, color=JADE) |
43 |
| -rainbow_comet = rainbowcomet_animation.RainbowComet(pixels, speed=0.1, tail_length=7, bounce=True) |
| 46 | +sparkle_pulse = sparklepulse_animation.SparklePulse( |
| 47 | + pixels, speed=0.1, period=3, color=JADE |
| 48 | +) |
| 49 | +rainbow_comet = rainbowcomet_animation.RainbowComet( |
| 50 | + pixels, speed=0.1, tail_length=7, bounce=True |
| 51 | +) |
44 | 52 | rainbow_chase = rainbowchase_animation.RainbowChase(
|
45 | 53 | pixels, speed=0.1, size=3, spacing=2, wheel_step=8
|
46 | 54 | )
|
47 |
| -rainbow_sparkle = rainbowsparkle_animation.RainbowSparkle(pixels, speed=0.1, num_sparkles=15) |
| 55 | +rainbow_sparkle = rainbowsparkle_animation.RainbowSparkle( |
| 56 | + pixels, speed=0.1, num_sparkles=15 |
| 57 | +) |
48 | 58 |
|
49 | 59 |
|
50 | 60 | animations = AnimationSequence(
|
|
0 commit comments