An example of starting the AR camera with three.js in any size viewport.
Tap the screen to place an anchor, tap again to get the distance between the two points. (Imperial system because 🇺🇸)
Realistic lighting using the Kelvin and Lumen data from ARKit. This also demonstrates how to add a shadow to an invisible plane.
iPhone X only, this shows how to query facial input from the front facing camera.
When you point your camera at the clone trooper image (/assets/marker.png
), a clone will appear.
This shows how to place an object by tapping anywhere on the screen.
Renders all the raw point data
Renders all the raw plane anchors