openrndr / org.openrndr.math / smootherstep

smootherstep

fun smootherstep(edge0: Double, edge1: Double, x: Double): Double (source)

Smootherstep

Parameters

edge0 -

edge1 -

x -

Return
a mapped value in the interval 0,1