Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 849 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 849 Bytes

Bubbles

This demo features bubbles with realtime reflections from the camera.

Refer to the installation instructions before running this demo.

  1. Open your terminal and run yarn start and yarn tunnel from the arkit-web/Demos directory
  2. Copy the ngrok https url from terminal
  3. Open arkit-web/ARKitWeb.xcodeproj in Xcode
  4. Click the Build Settings tab
  5. Scroll down and locate the DEV_URL flag
  6. Paste the ngrok https url into the DEV_URL field
  7. Set let DEBUG = true in ARKitWeb/ViewController.swift for live reloading
  8. Set let DEFAULT_DEMO = "bubbles" in ARKitWeb/ViewController.swift
  9. Click Build and run

Notes

Converting the camera image to base64 string requires more processing and takes a slight performance hit hence why the feature is disabled by default