three-pathfinding

v1.3.0
Navigation mesh toolkit for three.js, based on PatrolJS
patrol patroljs patrol.js three three.js threejs pathfinding aframe astar and 4 more...

build

yarn dist && vite build --config demo/vite.config.js

dev

concurrently "yarn watch" "vite --config demo/vite.config.js --port 3000"

watch

microbundle watch --target web --globals three=THREE --external three --no-generateTypes && node scripts/copy-definition.mjs

dist

microbundle --target web --globals three=THREE --external three --no-generateTypes && node scripts/copy-definition.mjs

version

npm run dist && yarn test

postversion

git push && git push --tags && npm publish

docs

documentation build src/Pathfinding.js src/PathfindingHelper.js --shallow -f md | replace-between --target README.md --token API

test

node tests/index.test.js | tap-spec

benchmark

node benchmark/index.benchmark.js

deploy

yarn build && yarn test && vercel --prod
npm i three-pathfinding

Metadata

  • MIT
  • Whatever
  • Don McCurdy
  • released 5/17/2024

Downloads

Maintainers