FastLED 3.9.15
Loading...
Searching...
No Matches
ease.h File Reference
#include "fl/stdint.h"
#include "fl/int.h"
#include "fastled_progmem.h"
+ Include dependency graph for ease.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fl
 IMPORTANT!
 

Enumerations

enum  fl::EaseType {
  fl::EASE_NONE , fl::EASE_IN_QUAD , fl::EASE_OUT_QUAD , fl::EASE_IN_OUT_QUAD ,
  fl::EASE_IN_CUBIC , fl::EASE_OUT_CUBIC , fl::EASE_IN_OUT_CUBIC , fl::EASE_IN_SINE ,
  fl::EASE_OUT_SINE , fl::EASE_IN_OUT_SINE
}
 

Functions

void fl::ease16 (EaseType type, u16 *src, u16 *dst, u16 count)
 
u16 fl::ease16 (EaseType type, u16 i)
 
void fl::ease8 (EaseType type, u8 *src, u8 *dst, u8 count)
 
u8 fl::ease8 (EaseType type, u8 i)
 
u16 fl::easeInCubic16 (u16 i)
 16-bit cubic ease-in function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeInCubic8 (u8 i)
 8-bit cubic ease-in function Takes an input value 0-255 and returns an eased value 0-255 More pronounced acceleration than quadratic
 
u16 fl::easeInOutCubic16 (u16 i)
 16-bit cubic ease-in/ease-out function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeInOutCubic8 (u8 i)
 8-bit cubic ease-in/ease-out function Takes an input value 0-255 and returns an eased value 0-255 More pronounced easing curve than quadratic
 
u16 fl::easeInOutQuad16 (u16 i)
 16-bit quadratic ease-in/ease-out function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeInOutQuad8 (u8 i)
 8-bit quadratic ease-in/ease-out function Takes an input value 0-255 and returns an eased value 0-255 The curve starts slow, accelerates in the middle, then slows down again
 
u16 fl::easeInOutSine16 (u16 i)
 16-bit sine ease-in/ease-out function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeInOutSine8 (u8 i)
 8-bit sine ease-in/ease-out function Takes an input value 0-255 and returns an eased value 0-255 Smooth sinusoidal acceleration and deceleration
 
u16 fl::easeInQuad16 (u16 i)
 16-bit quadratic ease-in function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeInQuad8 (u8 i)
 8-bit quadratic ease-in function Takes an input value 0-255 and returns an eased value 0-255 The curve starts slow and accelerates (ease-in only)
 
u16 fl::easeInSine16 (u16 i)
 16-bit sine ease-in function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeInSine8 (u8 i)
 8-bit sine ease-in function Takes an input value 0-255 and returns an eased value 0-255 Smooth sinusoidal acceleration
 
u16 fl::easeOutCubic16 (u16 i)
 16-bit cubic ease-out function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeOutCubic8 (u8 i)
 8-bit cubic ease-out function Takes an input value 0-255 and returns an eased value 0-255 More pronounced deceleration than quadratic
 
u16 fl::easeOutQuad16 (u16 i)
 16-bit quadratic ease-out function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeOutQuad8 (u8 i)
 8-bit quadratic ease-out function Takes an input value 0-255 and returns an eased value 0-255 The curve starts fast and decelerates (ease-out only)
 
u16 fl::easeOutSine16 (u16 i)
 16-bit sine ease-out function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeOutSine8 (u8 i)
 8-bit sine ease-out function Takes an input value 0-255 and returns an eased value 0-255 Smooth sinusoidal deceleration