A tool used to obtain spacial coordinates based on an ice hockey rink.
This is a project based on an off-hand remark from Alyssa Longmuir on Episode 24 of the Top Shelf podcast. She works with statistics for women's hockey and wanted a tool that would give her the ability to map shots to coordinates on the ice. This is that tool.
If you have any ideas on how to improve shotplot, or notice any bugs, feel free to submit an issue on GitHub and I'll try to get to it as soon as possible. Pull requests are also welcome!
If you'd like to take shotplot for a spin, head over to shotplot.app.
Feel like playing around with the code?
- Clone this repo
- Install node
nvm use
- Install dependencies
yarn install
- Run development mode
yarn dev
Rename the .env-sample
file to .env
and add in values for your environment. ROOT_URL
is the base URL of your deployed project and GTMID
is your ID for Google Tag Manager.