Skip to content

Instantly share code, notes, and snippets.

View gist:19f4d183d504197cd009aff558727c9e
<!doctype HTML>
<script src=""></script>
<script src=""></script>
<body style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs='sourceType: webcam; debugUIEnabled: false;'>
<a-marker preset='custom' type='pattern' url='res/pattern-qr-code.patt'>
<a-entity text="width: 5; value:Happy Birthday To You" position='1.4 1.8 0'></a-entity> <!--加上文字-->
<a-entity id='gltf' gltf-model="url(res/scene.gltf)" position='0 0.5 0' scale='0.2 0.2 0.2'></a-entity> <!--加上3D模型-->
View gist:cee31b6d7334c4269adfead3d229fa5a
"name": "happybirthday",
"version": "1.0.0",
"description": "This will load any static html site",
"scripts": {
"start": "harp server --port $PORT"
"dependencies": {
"harp": "*"