An open API service indexing awesome lists of open source software.

https://github.com/ar-js-org/artoolkitplus-ts

ARToolKitPlus Emscripten version with Typescript support
https://github.com/ar-js-org/artoolkitplus-ts

artoolkit artoolkitplus augmented-reality emscripten markers typescript webar webassembly

Last synced: 2 months ago
JSON representation

ARToolKitPlus Emscripten version with Typescript support

Awesome Lists containing this project

README

          

# artoolkitplus-ts

[ARToolKitPlus](https://github.com/paroj/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.js` load the basic artoolkitplus enums and other functions.
- `trackerSM_ES6.js` load 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