Emscripten port of ARToolKit5 to JavaScript. It is a lighter version of Jsartoolkit5 with only NFT markerless support
npm install @webarkit/jsartoolkit-nft!github releases
!github stars
!github forks
!npm package version
!Dependabot Badge



Emscripten port of WebARKitLib to JavaScript.
Modified and lighter version of JSARToolKit5.
Try the example !! www.webarkit.org/examples/artoolkitnft_es6_example
JSARToolKitNFT support only this type of marker:
- NFT (natural feature tracking) markers β
π π¨
- Multi NFT markers !!!
has WASM embedded in a single file!
JSARToolKitNFT now supports loading NFT markers from .zft compressed files. This allows for faster loading times and reduced file sizes.
βFrom 0.8.0 version has ES6 feature π π»
βFrom 0.9.0 version has Typescript feature π π£
From 1.6.0 version has Pthread experimental feature π π π
βββ ATTENTION: this feature is experimental, and it is not well tested yet. It is not recommended to use it in production.
You need to set up a server with COOP and COEP headers to use this feature. Read this Emscripten article
initWithDimensions / initWithImage static methods.WASM version of the library (deprecated it will be removed in a future release):
``html`
As loading the WebAssembly artifact is done asynchronously, there is a callback that is called when everything is ready.
`javascript`
window.addEventListener('artoolkitNFT-loaded', () => {
//do artoolkit stuff here
});
See the examples folder for details.
Go to the wiki for more infos. Note that you need to build the library only if you make changes to the source code.
. By 0.9.5 version from @webarkit/jsartoolkit-nft`.