MCPcopy Create free account
hub / github.com/FastLED/FastLED / easeInQuad16

Function easeInQuad16

src/fl/math/ease.cpp.hpp:189–193  ·  view source on GitHub ↗

16-bit easing functions

Source from the content-addressed store, hash-verified

187
188// 16-bit easing functions
189u16 easeInQuad16(u16 i) {
190 // Simple quadratic ease-in: i^2 scaled to 16-bit range
191 // Using scale16(i, i) which computes (i * i) / 65535
192 return scale16(i, i);
193}
194
195u16 easeInOutQuad16(u16 x) {
196 // 16-bit quadratic ease-in / ease-out function

Callers 2

ease16Function · 0.85
FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected