1.0.0 • Published 9 years ago
@riccardoscalco/regular-polygons v1.0.0
Vertices coordinates of regular polygons.
Installing
npm install @riccardoscalco/regular-polygonsAPI Reference
import polygon from '@riccardoscalco/regular-polygons'
const NUMBER_OF_SIDES = 5;
const RADIUS = 1;
const pentagon = polygon(NUMBER_OF_SIDES);
const points = pentagon(RADIUS);Dev
$ yarnBuild
$ yarn run build
$ yarn run test1.0.0
9 years ago