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
6b902857
Commit
6b902857
authored
Apr 12, 2023
by
Alfakhori
Browse files
Update public/kontakt.html
parent
90059598
Pipeline
#7294
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/kontakt.html
View file @
6b902857
<!DOCTYPE html>
<html>
<script
src=
"https://aframe.io/releases/1.3.0/aframe.min.js"
></script>
<!-- we import arjs version without NFT but with marker + location based support -->
<script
src=
"https://raw.githack.com/AR-js-org/AR.js/dev/aframe/build/aframe-ar.js"
></script>
<body
style=
"margin : 0px; overflow: hidden;"
>
<a-scene
embedded
arjs
>
<a-marker
preset=
"hiro"
>
<a-entity
position=
"0 0 0"
rotation=
"0 0 0"
scale=
"0.05 0.05 0.05"
gltf-model=
"assets/scene.gltf"
></a-entity>
</a-marker>
<a-entity
camera
></a-entity>
</a-scene>
</body>
<head>
<title>
AR.js Simple Marker Example
</title>
<script
src=
"https://aframe.io/releases/1.2.0/aframe.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/@argonjs/argon@2.8.0/dist/argon.min.js"
></script>
<script
src=
"https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar-nft.js"
></script>
</head>
<body>
<a-scene
embedded
arjs=
"sourceType: webcam; detectionMode: mono_and_matrix; matrixCodeType: 3x3;"
>
<a-nft
type=
"nft"
url=
"assets/marker.patt"
smooth=
"true"
smoothCount=
"10"
smoothTolerance=
".01"
smoothThreshold=
"5"
>
<a-entity
gltf-model=
"assets/scene.gltf"
scale=
"0.01 0.01 0.01"
position=
"0 0 0"
></a-entity>
</a-nft>
<a-entity
camera
></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