-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/aframe-look-at-component.min.js"></script> | ||
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar-nft.js"></script> | ||
</head> | ||
<body style="margin: 0; overflow: hidden;"> | ||
<a-scene | ||
embedded | ||
loading-screen="enabled: false;" | ||
arjs="sourceType: webcam; debugUIEnabled: true;" | ||
> | ||
<a-image | ||
src="assets/asset.jpeg" | ||
look-at="[gps-camera]" | ||
scale="20 20 20" | ||
gps-entity-place="latitude: 38.900893; longitude: -90.920293;" | ||
></a-image> | ||
<a-camera gps-camera rotation-reader></a-camera> | ||
</a-scene> | ||
</body> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<title>Location-based AR.js demo</title> | ||
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/aframe-look-at-component.min.js"></script> | ||
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar-nft.js"></script> | ||
</head> | ||
|
||
<body style="margin: 0; overflow: hidden;"> | ||
<a-scene | ||
vr-mode-ui="enabled: false" | ||
embedded | ||
arjs="sourceType: webcam; debugUIEnabled: false;" | ||
> | ||
<a-text | ||
value="This content will always face you." | ||
look-at="[gps-camera]" | ||
scale="200 200 200" | ||
gps-entity-place="latitude: 38.900893; longitude: -90.920293;" | ||
></a-text> | ||
<a-camera gps-camera rotation-reader> </a-camera> | ||
</a-scene> | ||
</body> | ||
</html> |