Package Exports
- @ar-js-org/artoolkitplus-ts
- @ar-js-org/artoolkitplus-ts/dist/ARToolKitPlus.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ar-js-org/artoolkitplus-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
artoolkitplus-ts
ARToolKitPlus library ported to the web thanks to Emscripten compiler. Things are evolving faster and code can change frequently, infact is a WIP.
Build libs
Emscripten libs are exported as ES6 modules, you can find two libs at the moment:
artoolkitplus_em_ES6.jsload the basic artoolkitplus enums and other functions.trackerSM_ES6.jsload the TrackerSingleMarker class
For every libs there is the debug version, useful when you are developing.
Typescript feature ❤️
The project also support the Typescript language. Typescript source code is in the /src folder, and is bundled in the dist lib thanks to webpack. You can find type definitions in the /types folder.
Future features 🚀️
- npm package
- Multi Marker support
- more examples
- documentation
Examples 🎉️
You can find a simple Single Marker example in the example folder. It load a static image and it detect the marker in it. Check in the browser console for the messages. If you want you can also test the video example ( stream from webcam ), check the output in the console, and a threejs example.
List of examples:
- example_ES6.html
- example-ts-module.html
- example-ts.html
- example-video-hiro-ts.html
- example-video-ts.html
- threejs-video-ts.html