/nicolocarpignoli.github.io

A playground for AR.js

Primary LanguageHTMLMIT LicenseMIT

nicolocarpignoli.github.io

A playground for AR.js

Demos

  • AR.js basic example (ar-playground/) Basic example using barcode markers. Start from here if you have never tried AR.js

  • AR.js working click events (ar-click-events/) Working example of click events handling. Disclaimer: not production ready, it fits good for experiments but also for simple applications. Clicks work very well on the centre of the screen, not so well on angles. It is suggested to use this approach for cases where only one marker is displayed at a time. You can start from this example and try to tune parameters of marker size and event detail data to meet your application requirements.

  • AR.js experimental (not stable) (ar-experimental/) I use this folder for experiments, also as a sandbox for snippets for my Medium articles. Don't use this code, really :)

Articles

Check my Medium page/follow me. More articles upcoming.

Other useful links