Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
ar
Commits
bf9ba586
Commit
bf9ba586
authored
May 02, 2023
by
Alfakhori
Browse files
Update public/page2.html
parent
7e7e645f
Pipeline
#7370
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
public/page2.html
View file @
bf9ba586
<!DOCTYPE html>
<html>
<head>
<title>
AR.js A-Frame Location-based
</title>
<script
src=
"https://aframe.io/releases/1.0.4/aframe.min.js"
></script>
<script
type=
'text/javascript'
src=
'https://raw.githack.com/AR-js-org/AR.js/master/three.js/build/ar-threex-location-only.js'
></script>
<script
type=
'text/javascript'
src=
'https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js'
></script>
</head>
<body>
<a-scene
vr-mode-ui=
'enabled: false'
arjs=
'sourceType: webcam; videoTexture: true; debugUIEnabled: false'
renderer=
'antialias: true; alpha: true'
>
<a-camera
gps-new-camera=
'gpsMinDistance: 5'
></a-camera>
<a-entity
material=
'color: red'
geometry=
'primitive: box'
gps-new-entity-place=
"latitude: 48.7809182093566; longitude: 9.173715785973716"
scale=
"10 10 10"
></a-entity>
</a-scene>
</body>
</html>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment