Description Usage Arguments Value References
This function generates the x, y and z locations used in animateFX and interactiveFX.
1 | getSnapshots(data, interval = 0.01)
|
data |
The nine PITCHf/x parameters used to determine the location of a pitch at a given time. |
interval |
the amount of time between 'snapshots' |
Return a three dimensional array. The third dimension corresponds to different 'snapshots' of locations.
http://baseball.physics.illinois.edu/KaganPitchfx.pdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.