Protected
_drawPrivate
_computePrivate
Initialize some time slice variables that will be used to control the animation.
The animation for each ring can be separated into two consecutive stages. Stage 1: Fade in a white ring with radius r0. Stage 2: Expand radius outward. While the radius is expanding outward, we have two additional, consecutive animations: Stage 2.1: Transition color from white to the configured color. Stage 2.2: Fade out. 1/5th of the animation time is allocated to Stage 1. 4/5ths are allocated to Stage 2. Of those 4/5ths, 2/5ths are allocated to Stage 2.1, and 2/5ths are allocated to Stage 2.2.
Private
_color
A type of ping that produces a pulsing animation.
Param: origin
The canvas coordinates of the origin of the ping.
Param: options
Additional options to configure the ping animation.