FastLED 3.9.15
Loading...
Searching...
No Matches

◆ easeInQuad8()

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)

Definition at line 58 of file ease.cpp.hpp.

58 {
59 // Simple quadratic ease-in: i^2 scaled to 8-bit range
60 // Using scale8(i, i) which computes (i * i) / 255
61 return scale8(i, i);
62}

Referenced by ease8(), and ease8().

+ Here is the caller graph for this function: