groupPixelsByDistance

fun AnimationManager.groupPixelsByDistance(center: Location, maximumDistance: AbsoluteDistance, movementPerIteration: Double): PixelModificationLists

Group pixels based on their distance from a central point.

Used by animations such as Ripple.

Return

Lists of pixels to modify in each iteration as a PixelModificationLists

Parameters

maximumDistance

How far away from the center the animation can be

movementPerIteration

How far to move away from (or towards) the center in each iteration