smoothing

fun Clock.smoothing(property: KProperty0<Double>, factor: Double = 0.99): DoublePropertySmoother(source)
fun <T : LinearType<T>> Clock.smoothing(property: KProperty0<T>, factor: Double = 0.99): PropertySmoother<T>(source)

Create a property smoother delegate

Since

0.4.3

Parameters

property

the property to smooth

factor

the smoothing factor


fun <T : LinearType<T>> Clock.smoothing(property: KProperty0<T>, factor: KProperty0<Double>): PropertySmoother<T>(source)

Create a property smoother delegate

Since

0.4.3

Parameters

property

the property to smooth

factor

the smoothing factor property