parabolic

fun parabolic(a: Float, b: Float = 0.0f, c: Float = 0.0f): SliderValuesDistribution

Creates a SliderValuesDistribution with a parabolic distribution strategy.

Return

a SliderValuesDistribution instance with a parabolic distribution strategy

Parameters

a

coefficient of the x^2 term in the parabolic equation

b

coefficient of the x term in the parabolic equation

c

constant term in the parabolic equation