AR.js is a lightweight JavaScript library that brings augmented reality (AR), the technology that overlays digital content on top of a real-world camera view, to web browsers. Instead of requiring users to download a dedicated app, it works directly in a browser on phones and computers. The library supports two main types of AR: marker-based AR, where a physical printed image or pattern is recognized by the camera and a 3D object appears on top of it, and location-based AR, where digital content is placed at specific geographic coordinates and appears when you point your camera in that direction. The README notes the library was known for running at 60 frames per second on mobile devices, making it feel smooth. This particular repository is the original version, which is no longer maintained or updated. The project has moved to a community-maintained organization at AR-js-org/AR.js, where new features including image tracking have been added and documentation has been improved. The original repository is kept available so that existing links and content delivery network (CDN) references continue to work, but all new development, issues, and contributions should go to the new location. You would use AR.js (via the new repository) if you want to add augmented reality experiences to a website without requiring users to install an app. It is aimed at web developers building AR experiences using standard browser technologies.
Generated 2026-05-21 · Model: sonnet-4-6 · Verify against the repo before relying on details.