No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.babelrc
.eslintrc
.gitignore
README.md
index.js
package.json
rollup.config.js

README.md

NBA shot zones

Compute shot zones from x,y coordindates

Usage

import { getZones, getZoneFromShot } from 'nba-shot-zones'

const zones = getZones() // ['restricted area', 'low post'...]

const zone = getZoneFromShot({ x: -18.5, y: 13.2 }) // 'midrange (upper left)'