sdf-polygon-2d
Version:
sample the signed distance field of a polygon in 2d space
37 lines (36 loc) • 798 B
JSON
{
"scripts": {
"test": "tape test.js"
},
"devDependencies": {
"tap-spec": "^2.1.2",
"tape": "^3.2.0"
},
"dependencies": {
"polygon": "^1.0.0",
"robust-point-in-polygon": "^1.0.3",
"vec2": "^1.6.0"
},
"name": "sdf-polygon-2d",
"description": "sample the signed distance field of a polygon in 2d space",
"version": "2.0.0",
"main": "sdf-polygon-2d.js",
"repository": {
"type": "git",
"url": "https://github.com/tmpvar/sdf-polygon-2d.git"
},
"keywords": [
"2d",
"polygon",
"sdf",
"signed",
"distance",
"field"
],
"author": "Elijah Insua <tmpvar@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/tmpvar/sdf-polygon-2d/issues"
},
"homepage": "https://github.com/tmpvar/sdf-polygon-2d"
}