Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ fmap
Function
fmap
examples/Chromancer/ripple.h:31–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
};
30
31
float fmap(float x, float in_min, float in_max, float out_min, float out_max) {
32
return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
33
}
34
35
class Ripple {
36
public:
Callers
2
advance
Method · 0.85
renderLed
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected