Generate paths for SVG wheel segments.
Using NPM:
npm install @renaatdemuynck/svg-wheel-generator
Using Yarn:
yarn add @renaatdemuynck/svg-wheel-generator
import { getWheelSegmentPaths } from '@renaatdemuynck/svg-wheel-generator';
let paths = getWheelSegmentPaths(8, 150, 50, 20);
- API
- Examples (TODO)