UNPKG

cubic-beziers-through-points

Version:

A function to fit fair (bending energy minimizing) cubic bezier curves through a set of given ordered points in the plane.

57 lines (56 loc) 1.63 kB
{ "name": "cubic-beziers-through-points", "sideEffects": false, "version": "0.1.1", "description": "A function to fit fair (bending energy minimizing) cubic bezier curves through a set of given ordered points in the plane.", "main": "./node/index.js", "exports": "./node/index.js", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/FlorisSteenkamp/Cubic-Beziers-Through-Points" }, "type": "module", "keywords": [ "fair", "bezier", "curve", "binding", "energy", "minimizing", "points", "plane" ], "author": "Floris Steenkamp", "license": "WTFPL", "dependencies": { "@types/jest": "^29.5.14", "flo-bezier3": "^6.0.0", "flo-vector2d": "^4.0.5", "jest": "^29.7.0", "ts-jest": "^29.2.6" }, "devDependencies": { "@types/node": "^22.13.10", "c8": "^10.1.3", "circular-dependency-plugin": "^5.2.2", "resolve-typescript-plugin": "^2.0.1", "rimraf": "^6.0.1", "squares-rng": "^2.0.3", "ts-loader": "^9.5.2", "ts-node": "^10.9.2", "typescript": "^5.8.2", "webpack": "^5.98.0", "webpack-bundle-analyzer": "^4.10.2", "webpack-cli": "^6.0.1" }, "scripts": { "build": "npm run build-browser && npm run build-node", "build-node": "rimraf node && tsc", "build-browser": "webpack", "test": "jest", "coverage": "c8 jest" } }