├── .github └── pull_request_template.md ├── .gitignore ├── Gruntfile.cjs ├── LICENSE ├── README.md ├── dist ├── kite.debug.js └── kite.min.js ├── doc └── index.html ├── eslint.config.mjs ├── examples └── index.html ├── index.html ├── js ├── Shape.ts ├── ShapeTests.js ├── grunt │ ├── eslint.config.mjs │ ├── tasks │ │ ├── eslint.config.mjs │ │ └── generate-svg-path-parser.ts │ └── tsconfig.json ├── kite-main.js ├── kite-tests.js ├── kite.ts ├── main.js ├── ops │ ├── Boundary.ts │ ├── BoundsIntersection.ts │ ├── Edge.ts │ ├── EdgeSegmentTree.ts │ ├── Face.ts │ ├── HalfEdge.ts │ ├── Loop.ts │ ├── SegmentTree.ts │ ├── Vertex.ts │ └── VertexSegmentTree.ts ├── parser │ ├── svgPath.js │ └── svgPath.pegjs ├── segments │ └── Segment.ts ├── tsconfig.json └── util │ ├── LineStyles.ts │ ├── Overlap.ts │ ├── RayIntersection.ts │ ├── SegmentIntersection.ts │ ├── Subpath.ts │ ├── intersectConicMatrices.ts │ └── svgNumber.ts ├── kite-tests.html ├── package.json ├── tests ├── README.md ├── index.html ├── playground.html ├── smooth-quadratic-test.svg └── visual-shape-test.html └── tsconfig.json /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/.gitignore -------------------------------------------------------------------------------- /Gruntfile.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/Gruntfile.cjs -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/README.md -------------------------------------------------------------------------------- /dist/kite.debug.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/dist/kite.debug.js -------------------------------------------------------------------------------- /dist/kite.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/dist/kite.min.js -------------------------------------------------------------------------------- /doc/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/doc/index.html -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /examples/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/examples/index.html -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/index.html -------------------------------------------------------------------------------- /js/Shape.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/Shape.ts -------------------------------------------------------------------------------- /js/ShapeTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/ShapeTests.js -------------------------------------------------------------------------------- /js/grunt/eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/grunt/eslint.config.mjs -------------------------------------------------------------------------------- /js/grunt/tasks/eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/grunt/tasks/eslint.config.mjs -------------------------------------------------------------------------------- /js/grunt/tasks/generate-svg-path-parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/grunt/tasks/generate-svg-path-parser.ts -------------------------------------------------------------------------------- /js/grunt/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/grunt/tsconfig.json -------------------------------------------------------------------------------- /js/kite-main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/kite-main.js -------------------------------------------------------------------------------- /js/kite-tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/kite-tests.js -------------------------------------------------------------------------------- /js/kite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/kite.ts -------------------------------------------------------------------------------- /js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/main.js -------------------------------------------------------------------------------- /js/ops/Boundary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/ops/Boundary.ts -------------------------------------------------------------------------------- /js/ops/BoundsIntersection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/ops/BoundsIntersection.ts -------------------------------------------------------------------------------- /js/ops/Edge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/ops/Edge.ts -------------------------------------------------------------------------------- /js/ops/EdgeSegmentTree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/ops/EdgeSegmentTree.ts -------------------------------------------------------------------------------- /js/ops/Face.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/ops/Face.ts -------------------------------------------------------------------------------- /js/ops/HalfEdge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/ops/HalfEdge.ts -------------------------------------------------------------------------------- /js/ops/Loop.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/ops/Loop.ts -------------------------------------------------------------------------------- /js/ops/SegmentTree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/ops/SegmentTree.ts -------------------------------------------------------------------------------- /js/ops/Vertex.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/ops/Vertex.ts -------------------------------------------------------------------------------- /js/ops/VertexSegmentTree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/ops/VertexSegmentTree.ts -------------------------------------------------------------------------------- /js/parser/svgPath.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/parser/svgPath.js -------------------------------------------------------------------------------- /js/parser/svgPath.pegjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/parser/svgPath.pegjs -------------------------------------------------------------------------------- /js/segments/Segment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/segments/Segment.ts -------------------------------------------------------------------------------- /js/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/tsconfig.json -------------------------------------------------------------------------------- /js/util/LineStyles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/util/LineStyles.ts -------------------------------------------------------------------------------- /js/util/Overlap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/util/Overlap.ts -------------------------------------------------------------------------------- /js/util/RayIntersection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/util/RayIntersection.ts -------------------------------------------------------------------------------- /js/util/SegmentIntersection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/util/SegmentIntersection.ts -------------------------------------------------------------------------------- /js/util/Subpath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/util/Subpath.ts -------------------------------------------------------------------------------- /js/util/intersectConicMatrices.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/util/intersectConicMatrices.ts -------------------------------------------------------------------------------- /js/util/svgNumber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/js/util/svgNumber.ts -------------------------------------------------------------------------------- /kite-tests.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/kite-tests.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/package.json -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/tests/index.html -------------------------------------------------------------------------------- /tests/playground.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/tests/playground.html -------------------------------------------------------------------------------- /tests/smooth-quadratic-test.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/tests/smooth-quadratic-test.svg -------------------------------------------------------------------------------- /tests/visual-shape-test.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/tests/visual-shape-test.html -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phetsims/kite/HEAD/tsconfig.json --------------------------------------------------------------------------------