Need help with NBA-Player-Movements?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

linouk23
478 Stars 106 Forks 12 Commits 10 Opened issues

Description

🏀 Visualization of NBA games from raw SportVU data logs

Services available

!
?

Need anything else?

Contributors list

# 70,172
TypeScr...
Swift
midi
macOS
5 commits
# 314,572
Python
visuali...
1 commit

NBA Player Movements

This is a script for visualization of NBA games from raw SportVU logs.

If you admire both Spurs' and Warriors' ball movement, Brad Stevens' playbook, or just miss KD in OKC you'll find this entertaining.

Examples

Spurs Warriors Celtics Durant

Usage

  1. Clone this repo:
  $ git clone https://github.com/linouk23/NBA-Player-Movements
  1. Choose any NBA game from

    data/2016.NBA.Raw.SportVU.Game.Logs
    directory.
  2. Generate an animation for the play by running the following script:

  $ python3 main.py [email protected] --event=140
  required arguments:
    --path PATH    a path to json file to read the events from

optional arguments: --event EVENT an index of the event to create the animation to (the indexing start with zero, if you index goes beyond out the total number of events (plays), it will show you the last one of the game) -h, --help show the help message and exit

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.