A small javascript library to develop WebAR apps. It is based on jsartoolkitNFT a lighter version of jsartoolkit5 only with NFT markerless technology.
1️⃣ Clone the repository:
git clone https://github.com/webarkit/ARnft.git
2️⃣ Install the npm packages:
yarn install
3️⃣ Run the node server:
http-server . -p 8000
4️⃣ Go to the example:
http://localhost:8000/examples/arNFT_example.html
5️⃣ Point your device 📱 to the pinball image 👇 a red cube will appear !
Test the examples in the /examples
folder:
arNFT_example.html
The simplest example displaying a red cube.arNFT_image_example.html
Example showing an image.arNFT_gltf_example.html
Example showing a gltf model (Duck).arNFT_video_example.html
Example showing a video. You can try also a live example with React at this link: kalwalt.github.io/ARnft-ES6-react/
- NFT (Natural Feature Tracking) Markers, read my article: NFT natural feature tracking with jsartoolkit5
- ES6 standard. You can install as a npm package and use it as a module (experimental). Install it with:
npm i @kalwalt/ar-nft
- Configuration data in an External .json file.