![]() |
Pixie Chroma
Documentation for the easiest 5x7 LED displays for Arduino!
|
#include "../Pixie_Chroma.h"Go to the source code of this file.
Functions | |
| void | ANIMATION_NULL (PixieChroma *_p, float delta) |
| It does nothing, but it does nothing REALLY WELL! You can enable this empty function with pix.set_animation(ANIMATION_NULL) to fully manually control LEDs when you want using pix.show(). More... | |
| void | ANIMATION_STATIC (PixieChroma *_p, float delta) |
| Shows the current color palette without animation. More... | |
| void | ANIMATION_PALETTE_SHIFT_LEFT (PixieChroma *_p, float delta) |
| Shows the current color palette, while constantly shifting it to the left. More... | |
| void | ANIMATION_PALETTE_SHIFT_RIGHT (PixieChroma *_p, float delta) |
| Shows the current color palette, while constantly shifting it to the right. More... | |
| void | ANIMATION_GLITTER (PixieChroma *_p, float delta) |
| Shows the current color palette with a sparkling effect. More... | |
| void | ANIMATION_PENDULUM (PixieChroma *_p, float delta) |
| Sways the current color palette left and right with a sine function at 1Hz intervals. More... | |
| void | ANIMATION_PENDULUM_WIDE (PixieChroma *_p, float delta) |
| Sways the current color palette left and right with a sine function at 1Hz intervals. Wider travel than ANIMATION_PENDULUM. More... | |
| void | _PALETTE_SHIFT (PixieChroma *_p, int8_t amount, float delta) |
| Internal animation, shifts the color palette a fixed amount on each run. More... | |
| void | _PENDULUM (PixieChroma *_p, float center_position, float sway_width) |
| Internal animation that sways the current color palette left and right with a sine function at 1Hz intervals. (Custom width) More... | |
| CRGBPalette16 | make_gradient (CRGB col1, CRGB col2) |
| Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient. More... | |
| CRGBPalette16 | make_gradient (CRGB col1, CRGB col2, CRGB col3) |
| Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient. More... | |
| CRGBPalette16 | make_gradient (CRGB col1, CRGB col2, CRGB col3, CRGB col4) |
| Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient. More... | |
| CRGBPalette16 | make_gradient (CRGB col1, CRGB col2, CRGB col3, CRGB col4, CRGB col5) |
| Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient. More... | |
| CRGBPalette16 | make_gradient (CRGB col1, CRGB col2, CRGB col3, CRGB col4, CRGB col5, CRGB col6) |
| Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient. More... | |
| CRGBPalette16 | make_gradient (CRGB col1, CRGB col2, CRGB col3, CRGB col4, CRGB col5, CRGB col6, CRGB col7) |
| Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient. More... | |
| CRGBPalette16 | make_gradient (CRGB col1, CRGB col2, CRGB col3, CRGB col4, CRGB col5, CRGB col6, CRGB col7, CRGB col8) |
| Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient. More... | |
Designed specifically to work with Pixie Chroma: -—> https://connornishijima.github.io/PixieChroma
Last Updated by Connor Nishijima on 10/21/21
Definition in file pixie_animations.h.
| void ANIMATION_NULL | ( | PixieChroma * | _p, |
| float | delta | ||
| ) |
It does nothing, but it does nothing REALLY WELL! You can enable this empty function with pix.set_animation(ANIMATION_NULL) to fully manually control LEDs when you want using pix.show().
| _p | Used to pass a reference to the PixieChroma class instance |
| delta | Used to regulate animation playback consistency if performance drops |
Definition at line 12 of file pixie_animations.cpp.
| void ANIMATION_STATIC | ( | PixieChroma * | _p, |
| float | delta | ||
| ) |
Shows the current color palette without animation.
| _p | Used to pass a reference to the PixieChroma class instance |
| delta | Used to regulate animation playback consistency if performance drops |
Definition at line 18 of file pixie_animations.cpp.
| void ANIMATION_PALETTE_SHIFT_LEFT | ( | PixieChroma * | _p, |
| float | delta | ||
| ) |
Shows the current color palette, while constantly shifting it to the left.
| _p | Used to pass a reference to the PixieChroma class instance |
| delta | Used to regulate animation playback consistency if performance drops |
Definition at line 46 of file pixie_animations.cpp.
| void ANIMATION_PALETTE_SHIFT_RIGHT | ( | PixieChroma * | _p, |
| float | delta | ||
| ) |
Shows the current color palette, while constantly shifting it to the right.
| _p | Used to pass a reference to the PixieChroma class instance |
| delta | Used to regulate animation playback consistency if performance drops |
Definition at line 51 of file pixie_animations.cpp.
| void ANIMATION_GLITTER | ( | PixieChroma * | _p, |
| float | delta | ||
| ) |
Shows the current color palette with a sparkling effect.
| _p | Used to pass a reference to the PixieChroma class instance |
| delta | Used to regulate animation playback consistency if performance drops |
Definition at line 56 of file pixie_animations.cpp.
| void ANIMATION_PENDULUM | ( | PixieChroma * | _p, |
| float | delta | ||
| ) |
Sways the current color palette left and right with a sine function at 1Hz intervals.
| _p | Used to pass a reference to the PixieChroma class instance |
| delta | Used to regulate animation playback consistency if performance drops |
Definition at line 94 of file pixie_animations.cpp.
| void ANIMATION_PENDULUM_WIDE | ( | PixieChroma * | _p, |
| float | delta | ||
| ) |
Sways the current color palette left and right with a sine function at 1Hz intervals. Wider travel than ANIMATION_PENDULUM.
| _p | Used to pass a reference to the PixieChroma class instance |
| delta | Used to regulate animation playback consistency if performance drops |
Definition at line 100 of file pixie_animations.cpp.
| void _PALETTE_SHIFT | ( | PixieChroma * | _p, |
| int8_t | amount, | ||
| float | delta | ||
| ) |
Internal animation, shifts the color palette a fixed amount on each run.
| _p | Used to pass a reference to the PixieChroma class instance |
| amount | Amount to shift the color palette (in 1/256ths) each frame |
| delta | Used to regulate animation playback consistency if performance drops |
Definition at line 30 of file pixie_animations.cpp.
| void _PENDULUM | ( | PixieChroma * | _p, |
| float | center_position, | ||
| float | sway_width | ||
| ) |
Internal animation that sways the current color palette left and right with a sine function at 1Hz intervals. (Custom width)
| _p | Used to pass a reference to the PixieChroma class instance |
| center_position | Offset of the color palette left or right |
| sway_width | Offset multiplier |
Definition at line 72 of file pixie_animations.cpp.
| CRGBPalette16 make_gradient | ( | CRGB | col1, |
| CRGB | col2 | ||
| ) |
Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient.
| col1 | First color |
| col2 | Second color |
Definition at line 106 of file pixie_animations.cpp.
| CRGBPalette16 make_gradient | ( | CRGB | col1, |
| CRGB | col2, | ||
| CRGB | col3 | ||
| ) |
Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient.
| col1 | First color |
| col2 | Second color |
| col3 | Third color |
Definition at line 117 of file pixie_animations.cpp.
| CRGBPalette16 make_gradient | ( | CRGB | col1, |
| CRGB | col2, | ||
| CRGB | col3, | ||
| CRGB | col4 | ||
| ) |
Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient.
| col1 | First color |
| col2 | Second color |
| col3 | Third color |
| col4 | Fourth color |
Definition at line 129 of file pixie_animations.cpp.
| CRGBPalette16 make_gradient | ( | CRGB | col1, |
| CRGB | col2, | ||
| CRGB | col3, | ||
| CRGB | col4, | ||
| CRGB | col5 | ||
| ) |
Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient.
| col1 | First color |
| col2 | Second color |
| col3 | Third color |
| col4 | Fourth color |
| col5 | Fifth color |
Definition at line 142 of file pixie_animations.cpp.
| CRGBPalette16 make_gradient | ( | CRGB | col1, |
| CRGB | col2, | ||
| CRGB | col3, | ||
| CRGB | col4, | ||
| CRGB | col5, | ||
| CRGB | col6 | ||
| ) |
Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient.
| col1 | First color |
| col2 | Second color |
| col3 | Third color |
| col4 | Fourth color |
| col5 | Fifth color |
| col6 | Sixth color |
Definition at line 156 of file pixie_animations.cpp.
| CRGBPalette16 make_gradient | ( | CRGB | col1, |
| CRGB | col2, | ||
| CRGB | col3, | ||
| CRGB | col4, | ||
| CRGB | col5, | ||
| CRGB | col6, | ||
| CRGB | col7 | ||
| ) |
Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient.
| col1 | First color |
| col2 | Second color |
| col3 | Third color |
| col4 | Fourth color |
| col5 | Fifth color |
| col6 | Sixth color |
| col7 | Seventh color |
Definition at line 171 of file pixie_animations.cpp.
| CRGBPalette16 make_gradient | ( | CRGB | col1, |
| CRGB | col2, | ||
| CRGB | col3, | ||
| CRGB | col4, | ||
| CRGB | col5, | ||
| CRGB | col6, | ||
| CRGB | col7, | ||
| CRGB | col8 | ||
| ) |
Converts a set of CRGB colors to a gradient, and creates a color palette from that gradient.
| col1 | First color |
| col2 | Second color |
| col3 | Third color |
| col4 | Fourth color |
| col5 | Fifth color |
| col6 | Sixth color |
| col7 | Seventh color |
| col8 | Eighth color |
Definition at line 187 of file pixie_animations.cpp.