bs-court-dimensions
Installation
npm i bs-court-dimensions
Usage
const courtConfigZoomed generateCourt = ; // Generate a FIBA basket court at your desired zoom levelconst courtZoomed = ; // Display the basket-ball court inside the svg// Use same zoomMultiplicator as the courtConfigZoomed function;
All functions are curried.
Example
npm run example
then go to http://localhost:1234