├── .eslintignore ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── dependabot.yml ├── scripts │ ├── draft-release.sh │ └── gh-md-toc.sh └── workflows │ └── build.yml ├── .gitignore ├── .npmrc ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── jest-puppeteer.config.js ├── jest.config.js ├── package.json ├── preview └── preview.gif ├── src ├── Components │ ├── CameraEnvironmentMap.tsx │ ├── FaceBufferGeometry.tsx │ ├── HeadMaskMesh.tsx │ ├── ZapparCamera.tsx │ ├── ZapparCanvas.tsx │ ├── targetImagePreviewMesh.tsx │ ├── trackers │ │ ├── FaceLandmarkGroup.tsx │ │ ├── FaceTrackerGroup.tsx │ │ ├── ImageTrackerGroup.tsx │ │ └── InstantTrackerGroup.tsx │ └── util │ │ ├── Compatibility.tsx │ │ ├── Loader.tsx │ │ └── PlacementUI.tsx ├── hooks │ └── trackerEnabled.ts ├── index-standalone.ts ├── index.ts ├── spec.ts ├── store.ts └── version.ts ├── tests ├── __image_snapshots__ │ ├── __diff_output__ │ │ └── .gitignore │ ├── camera-environment-map-global-cam-prop-ts-face-tracking-console-logs-1-snap.png │ ├── simple-face-test-ts-face-tracking-console-logs-1-snap.png │ └── simple-image-test-ts-image-tracking-console-logs-1-snap.png ├── assets │ ├── example-tracking-image.png │ ├── example-tracking-image.zpt │ ├── faceMeshTemplate.png │ ├── favicon.png │ ├── planes │ │ ├── camera.jpg │ │ ├── scene.jpg │ │ └── target.jpg │ ├── preview_target.jpg │ ├── preview_target.zpt │ ├── sources │ │ ├── face.png │ │ ├── image-target.png │ │ └── instant-tracking.uar │ ├── target.zpt │ └── z_helmet.glb ├── camera-environment-map-global-cam-prop.ts ├── html-templates │ └── 0.html ├── jest │ └── module │ │ ├── _template0_camera-environment-map-global-cam-prop.tsx │ │ ├── _template0_simple-face.tsx │ │ ├── _template0_simple-image.tsx │ │ └── _template0_simple-instant.tsx ├── manual │ ├── _template0_camera-environment-map.tsx │ ├── _template0_camera-tracker-options.tsx │ ├── _template0_faceLandmarks.tsx │ ├── _template0_faceTracking.tsx │ ├── _template0_faceTrackingHelmet.tsx │ ├── _template0_imageTracking.tsx │ ├── _template0_instantTracking.tsx │ └── _template0_routes.tsx ├── simple-face.test.ts └── simple-image.test.ts ├── tsconfig.json ├── tsdoc.json ├── webpack.config.base.js ├── webpack.config.js ├── webpack.config.tests.js └── webpack.helper.js /.eslintignore: -------------------------------------------------------------------------------- 1 | /**/*.js 2 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/scripts/draft-release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/.github/scripts/draft-release.sh -------------------------------------------------------------------------------- /.github/scripts/gh-md-toc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/.github/scripts/gh-md-toc.sh -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | //registry.npmjs.org/:_authToken=${NPM_TOKEN} 2 | engine-strict=true 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/README.md -------------------------------------------------------------------------------- /jest-puppeteer.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/jest-puppeteer.config.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/package.json -------------------------------------------------------------------------------- /preview/preview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/preview/preview.gif -------------------------------------------------------------------------------- /src/Components/CameraEnvironmentMap.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/CameraEnvironmentMap.tsx -------------------------------------------------------------------------------- /src/Components/FaceBufferGeometry.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/FaceBufferGeometry.tsx -------------------------------------------------------------------------------- /src/Components/HeadMaskMesh.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/HeadMaskMesh.tsx -------------------------------------------------------------------------------- /src/Components/ZapparCamera.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/ZapparCamera.tsx -------------------------------------------------------------------------------- /src/Components/ZapparCanvas.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/ZapparCanvas.tsx -------------------------------------------------------------------------------- /src/Components/targetImagePreviewMesh.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/targetImagePreviewMesh.tsx -------------------------------------------------------------------------------- /src/Components/trackers/FaceLandmarkGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/trackers/FaceLandmarkGroup.tsx -------------------------------------------------------------------------------- /src/Components/trackers/FaceTrackerGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/trackers/FaceTrackerGroup.tsx -------------------------------------------------------------------------------- /src/Components/trackers/ImageTrackerGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/trackers/ImageTrackerGroup.tsx -------------------------------------------------------------------------------- /src/Components/trackers/InstantTrackerGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/trackers/InstantTrackerGroup.tsx -------------------------------------------------------------------------------- /src/Components/util/Compatibility.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/util/Compatibility.tsx -------------------------------------------------------------------------------- /src/Components/util/Loader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/util/Loader.tsx -------------------------------------------------------------------------------- /src/Components/util/PlacementUI.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/Components/util/PlacementUI.tsx -------------------------------------------------------------------------------- /src/hooks/trackerEnabled.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/hooks/trackerEnabled.ts -------------------------------------------------------------------------------- /src/index-standalone.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/index-standalone.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/spec.ts -------------------------------------------------------------------------------- /src/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/store.ts -------------------------------------------------------------------------------- /src/version.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/src/version.ts -------------------------------------------------------------------------------- /tests/__image_snapshots__/__diff_output__/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /tests/__image_snapshots__/camera-environment-map-global-cam-prop-ts-face-tracking-console-logs-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/__image_snapshots__/camera-environment-map-global-cam-prop-ts-face-tracking-console-logs-1-snap.png -------------------------------------------------------------------------------- /tests/__image_snapshots__/simple-face-test-ts-face-tracking-console-logs-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/__image_snapshots__/simple-face-test-ts-face-tracking-console-logs-1-snap.png -------------------------------------------------------------------------------- /tests/__image_snapshots__/simple-image-test-ts-image-tracking-console-logs-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/__image_snapshots__/simple-image-test-ts-image-tracking-console-logs-1-snap.png -------------------------------------------------------------------------------- /tests/assets/example-tracking-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/example-tracking-image.png -------------------------------------------------------------------------------- /tests/assets/example-tracking-image.zpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/example-tracking-image.zpt -------------------------------------------------------------------------------- /tests/assets/faceMeshTemplate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/faceMeshTemplate.png -------------------------------------------------------------------------------- /tests/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/favicon.png -------------------------------------------------------------------------------- /tests/assets/planes/camera.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/planes/camera.jpg -------------------------------------------------------------------------------- /tests/assets/planes/scene.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/planes/scene.jpg -------------------------------------------------------------------------------- /tests/assets/planes/target.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/planes/target.jpg -------------------------------------------------------------------------------- /tests/assets/preview_target.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/preview_target.jpg -------------------------------------------------------------------------------- /tests/assets/preview_target.zpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/preview_target.zpt -------------------------------------------------------------------------------- /tests/assets/sources/face.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/sources/face.png -------------------------------------------------------------------------------- /tests/assets/sources/image-target.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/sources/image-target.png -------------------------------------------------------------------------------- /tests/assets/sources/instant-tracking.uar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/sources/instant-tracking.uar -------------------------------------------------------------------------------- /tests/assets/target.zpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/target.zpt -------------------------------------------------------------------------------- /tests/assets/z_helmet.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/assets/z_helmet.glb -------------------------------------------------------------------------------- /tests/camera-environment-map-global-cam-prop.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/camera-environment-map-global-cam-prop.ts -------------------------------------------------------------------------------- /tests/html-templates/0.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/html-templates/0.html -------------------------------------------------------------------------------- /tests/jest/module/_template0_camera-environment-map-global-cam-prop.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/jest/module/_template0_camera-environment-map-global-cam-prop.tsx -------------------------------------------------------------------------------- /tests/jest/module/_template0_simple-face.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/jest/module/_template0_simple-face.tsx -------------------------------------------------------------------------------- /tests/jest/module/_template0_simple-image.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/jest/module/_template0_simple-image.tsx -------------------------------------------------------------------------------- /tests/jest/module/_template0_simple-instant.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/jest/module/_template0_simple-instant.tsx -------------------------------------------------------------------------------- /tests/manual/_template0_camera-environment-map.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/manual/_template0_camera-environment-map.tsx -------------------------------------------------------------------------------- /tests/manual/_template0_camera-tracker-options.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/manual/_template0_camera-tracker-options.tsx -------------------------------------------------------------------------------- /tests/manual/_template0_faceLandmarks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/manual/_template0_faceLandmarks.tsx -------------------------------------------------------------------------------- /tests/manual/_template0_faceTracking.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/manual/_template0_faceTracking.tsx -------------------------------------------------------------------------------- /tests/manual/_template0_faceTrackingHelmet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/manual/_template0_faceTrackingHelmet.tsx -------------------------------------------------------------------------------- /tests/manual/_template0_imageTracking.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/manual/_template0_imageTracking.tsx -------------------------------------------------------------------------------- /tests/manual/_template0_instantTracking.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/manual/_template0_instantTracking.tsx -------------------------------------------------------------------------------- /tests/manual/_template0_routes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/manual/_template0_routes.tsx -------------------------------------------------------------------------------- /tests/simple-face.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/simple-face.test.ts -------------------------------------------------------------------------------- /tests/simple-image.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tests/simple-image.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsdoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/tsdoc.json -------------------------------------------------------------------------------- /webpack.config.base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/webpack.config.base.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./webpack.config.base"); 2 | -------------------------------------------------------------------------------- /webpack.config.tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/webpack.config.tests.js -------------------------------------------------------------------------------- /webpack.helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zappar-xr/zappar-react-three-fiber/HEAD/webpack.helper.js --------------------------------------------------------------------------------