This demo features bubbles with realtime reflections from the camera.
Refer to the installation instructions before running this demo.
- Open your terminal and run
yarn start
andyarn tunnel
from thearkit-web/Demos
directory - Copy the ngrok https url from terminal
- Open
arkit-web/ARKitWeb.xcodeproj
in Xcode - Click the
Build Settings
tab - Scroll down and locate the
DEV_URL
flag - Paste the ngrok https url into the
DEV_URL
field - Set
let DEBUG = true
inARKitWeb/ViewController.swift
for live reloading - Set
let DEFAULT_DEMO = "bubbles"
inARKitWeb/ViewController.swift
- Click
Build and run
Converting the camera image to base64 string requires more processing and takes a slight performance hit hence why the feature is disabled by default