FastLED 3.9.15
Loading...
Searching...
No Matches
ease.cpp.hpp File Reference
#include "fl/system/fastled.h"
#include "fl/math/ease.h"
#include "lib8tion.h"
#include "fl/math/math.h"
#include "fl/math/intmap.h"
#include "fl/math/sin32.h"
#include "fl/stl/int.h"
#include "fl/stl/weak_ptr.h"
#include "fl/stl/flat_map.h"
#include "fl/stl/align.h"
#include "fl/math/fixed_point.h"
+ Include dependency graph for ease.cpp.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fl::Gamma8Impl
 
struct  fl::Gamma8Impl::from_progmem_lut_tag
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Typedefs

using fl::GammaKey = fl::ufixed_point<4, 12>
 

Functions

u16 fl::easeInCubic16 (u16 i) FL_NOEXCEPT
 16-bit cubic ease-in function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeInCubic8 (u8 i) FL_NOEXCEPT
 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) FL_NOEXCEPT
 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) FL_NOEXCEPT
 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) FL_NOEXCEPT
 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) FL_NOEXCEPT
 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) FL_NOEXCEPT
 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) FL_NOEXCEPT
 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) FL_NOEXCEPT
 16-bit quadratic ease-in function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeInQuad8 (u8 i) FL_NOEXCEPT
 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) FL_NOEXCEPT
 16-bit sine ease-in function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeInSine8 (u8 i) FL_NOEXCEPT
 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) FL_NOEXCEPT
 16-bit cubic ease-out function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeOutCubic8 (u8 i) FL_NOEXCEPT
 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) FL_NOEXCEPT
 16-bit quadratic ease-out function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeOutQuad8 (u8 i) FL_NOEXCEPT
 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) FL_NOEXCEPT
 16-bit sine ease-out function Takes an input value 0-65535 and returns an eased value 0-65535
 
u8 fl::easeOutSine8 (u8 i) FL_NOEXCEPT
 8-bit sine ease-out function Takes an input value 0-255 and returns an eased value 0-255 Smooth sinusoidal deceleration
 
 fl::FL_ALIGN_PROGMEM (64) const u16 GAMMA_2_8_LUT[256]
 
u16 fl::gamma_2_8 (u8 value)
 

Class Documentation

◆ fl::Gamma8Impl::from_progmem_lut_tag

struct fl::Gamma8Impl::from_progmem_lut_tag