menu
morph_orbs package
documentation
engine.dart
smoothStep function
smoothStep function
dark_mode
light_mode
smoothStep
function
double
smoothStep
(
double
x
)
Implementation
double smoothStep(double x) { final c = clamp01(x); return c * c * (3 - 2 * c); }
morph_orbs package
documentation
engine
smoothStep function
engine library