An iOS app using SceneKit and CoreMotion. Use the AVCaptureVideoPreviewLayer as the background of View. SceneKit view as a subview of the root view.