FastLED 3.9.15
Loading...
Searching...
No Matches
ease.cpp File Reference
#include "FastLED.h"
#include "fl/ease.h"
#include "lib8tion.h"
#include "fl/map_range.h"
#include "lib8tion/intmap.h"
#include "fl/sin32.h"
#include "fl/int.h"
+ Include dependency graph for ease.cpp:

Go to the source code of this file.

Namespaces

namespace  fl
 IMPORTANT!
 

Macros

#define FASTLED_INTERNAL
 

Functions

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
 

Variables

const u16 fl::gamma_2_8 [256]