TermOx
|
Dynamic_color type that fades between two HSL Colors. More...
#include <dynamic_colors.hpp>
Public Member Functions | |
Fade (HSL const a, HSL const b, Shape &&shape_fn) | |
Dynamic Color that cycles between a and b and back. More... | |
auto | operator() () -> True_color |
Dynamic_color type that fades between two HSL Colors.
Modulation of the shift between the two colors controlled by Shape fn.
|
inline |
Dynamic Color that cycles between a
and b
and back.
Shape function object should return ratio of where between the two colors the fade is at.