Live demo

This is the repository’s example playground, running as a page on this site against the library source in src/. It uses the WebXR runtime: surface dots, tap-to-place, drag to move, pinch/twist gestures, in-place model switching with switchModel(), runtime colours and screenshots.

You need

An ARCore-capable Android phone with current Chrome and Google Play Services for AR.

HTTPS required

WebXR only runs in secure contexts. This site is served over HTTPS, so you’re covered. A plain-HTTP copy of the demo will refuse to start.

Desktop / iOS?

The demo loads and explains itself, but immersive AR won’t start: iOS Safari does not expose the immersive-ar WebXR flow.

Loading the AR demo…

Models from Sketchfab: Astronaut by Antropik (CC BY 4.0) · Cute Little Duck by TadenStar (CC BY 4.0) · Southern White Rhino by DigitalLife3D (CC BY-NC 4.0). The astronaut and the rhino are animated. The library plays the clips embedded in their files.

The demo above, recorded on a phone: scanning for a surface, tap-to-place, then pinch to scale and twist to rotate.

Want the code? The playground source is example/src/components/ARPlayground.jsx in the repository, and the walkthrough lives in React integration.