🌈 Create new beautiful Compose Gradients with our new wesite ->
Property

EaseInElastic

!EaseInElastic Curve

Source set: Common
public val EaseInElastic: Easing = Easing { fraction: Float ->
    val c4 = (2f * PI) / 3f

    return@Easing when (fraction) {
        0f -> 0f
        1f -> 1f
        else ->
            (-(2.0f).pow(10f * fraction - 10.0f) * sin((fraction * 10f - 10.75f) * c4)).toFloat()
    }
}

EaseInElastic Curve