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
9a4dbea3
Commit
9a4dbea3
authored
May 01, 2023
by
Alfakhori
Browse files
Update public/aktuelles.html
parent
f122f57a
Pipeline
#7341
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/aktuelles.html
View file @
9a4dbea3
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head>
<head>
<title>
AR.js Hello World Example
</title>
<title>
AR.js A-Frame
</title>
<script
src=
"https://aframe.io/releases/1.3.0/aframe.min.js"
></script>
<script
src=
"https://aframe.io/releases/1.3.0/aframe.min.js"
></script>
<script
type=
'text/javascript'
src=
'./assets/aframe-ar-nft.js'
></script>
<!-- Assumes AR.js build is in the 'AR.js' directory -->
</head>
<script
type=
'text/javascript'
src=
'./assets/ar-threex-location-only.js'
></script>
<body>
<script
type=
'text/javascript'
src=
'./assets/aframe-ar.js'
></script>
<a-scene
</head>
vr-mode-ui=
"enabled: false"
<body>
arjs=
'sourceType: webcam; videoTexture: true; debugUIEnabled: false;'
<!--
renderer=
'antialias: true; alpha: true'
>
This is using a simulated location. If testing on a mobile device, remove the
<a-camera
gps-camera
rotation-reader
></a-camera>
'simulateLatitude' and 'simulateLongitude' properties from 'gps-new-camera' and
<a-box
gps-entity-place=
'latitude: 48.806618; longitude: 9.229491'
color=
'red'
scale=
'20 20 20'
></a-box>
change the 'latitude' and 'longitude' properties to a location around 0.001
</a-scene>
degrees from your real location.
</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; simulateLatitude: 51.049; simulateLongitude: -0.723'
></a-camera>
<a-entity
material=
'color: red'
geometry=
'primitive: box'
gps-new-entity-place=
"latitude: 51.05; longitude: -0.723"
scale=
"10 10 10"
></a-entity>
</a-scene>
</body>
</html>
</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