Skip to main content


MindAR project can be run in plain static HTML file. It's super easy!

In this quick start guide, you will build a AR webpage, which will start the device camera, detect an image target, and show an augmented object on top.


To give you a quick idea of how easy it is, below is the complete source for the example!

<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src=""></script>
<script src=""></script>
<script src=""></script>
<a-scene mindar-image="imageTargetSrc:;" color-space="sRGB" renderer="colorManagement: true, physicallyCorrectLights" vr-mode-ui="enabled: false" device-orientation-permission-ui="enabled: false">
<img id="card" src="" />
<a-asset-item id="avatarModel" src=""></a-asset-item>

<a-camera position="0 0 0" look-controls="enabled: false"></a-camera>
<a-entity mindar-image-target="targetIndex: 0">
<a-plane src="#card" position="0 0 0" height="0.552" width="1" rotation="0 0 0"></a-plane>
<a-gltf-model rotation="0 0 0 " position="0 0 0.1" scale="0.005 0.005 0.005" src="#avatarModel" animation="property: position; to: 0 0.1 0.1; dur: 1000; easing: easeInOutQuad; loop: true; dir: alternate">

Let's go!