FastLED 3.9.7
|
Specify the rate of change of a parameter over time.
Functions | |
LIB8STATIC uint8_t | ease8InOutQuad (uint8_t i) |
8-bit quadratic ease-in / ease-out function. | |
LIB8STATIC uint16_t | ease16InOutQuad (uint16_t i) |
16-bit quadratic ease-in / ease-out function. | |
LIB8STATIC fract8 | ease8InOutCubic (fract8 i) |
8-bit cubic ease-in / ease-out function. | |
LIB8STATIC fract8 | ease8InOutApprox (fract8 i) |
Fast, rough 8-bit ease-in/ease-out function. | |
LIB8STATIC uint16_t ease16InOutQuad | ( | uint16_t | i | ) |
16-bit quadratic ease-in / ease-out function.
C implementation at this point.
Definition at line 625 of file lib8tion.h.
LIB8STATIC fract8 ease8InOutApprox | ( | fract8 | i | ) |
Fast, rough 8-bit ease-in/ease-out function.
Shaped approximately like ease8InOutCubic(), it's never off by more than a couple of percent from the actual cubic S-curve, and it executes more than twice as fast. Use when the cycles are more important than visual smoothness. Asm version takes around 7 cycles on AVR.
Definition at line 671 of file lib8tion.h.
LIB8STATIC fract8 ease8InOutCubic | ( | fract8 | i | ) |
8-bit cubic ease-in / ease-out function.
Takes around 18 cycles on AVR.
Definition at line 642 of file lib8tion.h.
LIB8STATIC uint8_t ease8InOutQuad | ( | uint8_t | i | ) |
8-bit quadratic ease-in / ease-out function.
Takes around 13 cycles on AVR.
Definition at line 580 of file lib8tion.h.