1.0.1 • Published 1 year ago
inverse-smoothstep v1.0.1
inverse-smoothstep
The inverse of the smoothstep function.
Based on Inigo Quilez.

Installation
npm install inverse-smoothstepUsage
import inverseSmoothstep from "inverse-smoothstep";
inverseSmoothstep(0.5);
// => 0.5
inverseSmoothstep(0.75)
// => 0.6736481776669303API
inverseSmoothstep
inverseSmoothstep(x) ⇒ number ⏏
The inverse of the smoothstep function
Kind: Exported function
| Param | Type |
|---|---|
| x | number |
License
MIT. See license file.