https://github.com/positlabs/spark-distance-from-camera
Get the distance between the camera and a virtual object in Spark AR
https://github.com/positlabs/spark-distance-from-camera
spark-ar utility
Last synced: about 1 month ago
JSON representation
Get the distance between the camera and a virtual object in Spark AR
- Host: GitHub
- URL: https://github.com/positlabs/spark-distance-from-camera
- Owner: positlabs
- Created: 2018-05-03T04:48:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-02T16:11:46.000Z (over 5 years ago)
- Last Synced: 2025-04-17T07:16:49.094Z (about 1 month ago)
- Topics: spark-ar, utility
- Language: JavaScript
- Homepage:
- Size: 546 KB
- Stars: 22
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
## Distance from camera in Spark AR
Demo of how to find the distance between the camera and a virtual object.

## Resources
Learn more stuff by watching my [Spark AR Tutorials on YouTube!](https://www.youtube.com/playlist?list=PLAZp2Vi7Gfspzyla4RrCO6BzVzYW7Lnb-)
Follow me on Instagram [@positlabs](https://instagram.com/positlabs) and try out my effects!
Browse my open-source [Spark AR repositories on Github!](https://github.com/search?q=user%3Apositlabs+spark)
Have questions? Join the [Spark AR Community](https://www.facebook.com/groups/SparkARcommunity/) group on Facebook.
## Donations
If you used this in client projects, or simply enjoyed making effects with my open-source projects, please consider a donation or sponsorship. One-time donations can be made with PayPal. Subscriptions can be through PayPal or Github Sponsors (click the heart sponsor button at the top of the page).
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YGS69CHAE9EQC&source=url)