# encantAR.js WebAR engine

[![GitHub release (latest by date)](https://img.shields.io/github/v/release/alemart/encantar-js)](https://github.com/alemart/encantar-js/releases/) ![GitHub file size in bytes on a specified ref (branch/commit/tag)](https://img.shields.io/github/size/alemart/encantar-js/dist/encantar.min.js?branch=master&label=minified%20js) [![GitHub Repo stars](https://img.shields.io/github/stars/alemart/encantar-js?logo=github)](https://github.com/alemart/encantar-js/stargazers) [![GitHub Sponsors](https://img.shields.io/github/sponsors/alemart?logo=github)](https://github.com/sponsors/alemart/)

Create amazing Augmented Reality experiences with **encantAR.js**, a GPU-accelerated Augmented Reality engine for the web.

:books: Documentation: <https://alemart.github.io/encantar-js/>

## Features

* **Runs everywhere**: on Android, on iOS, and even on Desktop computers.
* **Image tracking**: track detailed images such as book covers, cartoons and photos.

## Try a demo

:arrow_right: [Launch now!](https://alemart.github.io/encantar-js/demo)

>
> **Guidelines:**
>
> * Don't move the camera too quickly. This produces motion blur.
> * The target image should appear clearly in the video.
> * The physical environment should be properly illuminated.
>

## Why use encantAR.js?

* **Wide compatibility:** encantAR.js runs in all modern web browsers. It's built from scratch using standard web technologies. No need of AR-capable devices.
* **Fast and powerful:** encantAR.js is GPU-accelerated. It uses WebGL2 and WebAssembly for turbocharged performance.
* **No need to download apps:** encantAR.js is a WebAR engine. Users can access the AR experiences immediately.
* **Easy to get started:** encantAR.js can be used with a `<script>` tag in your page. A static HTML page is enough to get started.

## Browser compatibility

encantAR.js is compatible with all major web browsers:

| Chrome | Edge | Firefox | Opera | Safari* |
| ------ | ---- | ------- | ----- | ------- |
| ✔      | ✔    | ✔       | ✔     | ✔       |

\* use Safari 15.2 or later.

encantAR.js requires WebGL2 and WebAssembly.

## About

encantAR.js is developed by [Alexandre Martins](https://github.com/alemart) and released under the [LGPL](LICENSE.md). It is based on [Speedy Vision](https://github.com/alemart/speedy-vision).
