Skip to content

Instantly share code, notes, and snippets.

@diglateam3
Created December 17, 2021 23:10
Show Gist options
  • Save diglateam3/092c6938b3030b11844ef87731ea4be7 to your computer and use it in GitHub Desktop.
Save diglateam3/092c6938b3030b11844ef87731ea4be7 to your computer and use it in GitHub Desktop.
( https://diglateam3.com/2021/12/conoha-vr-aframe/ )の記事内のサンプルコード。
<html>
<head>
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
<title>Hello A-Frame on ConoHa</title>
</head>
<body>
<a-scene>
<a-box position="-1 0.5 -3" rotation="0 30 0" color="#4CC3D9"></a-box>
<a-text value="ConoHa-chan is Seiso Kawaii!!" position="0 2 -3" size="42" align="center" color="#000000"></a-text>
<a-plane position="0 0 0" rotation="-90 0 0" width="10" height="10" color="#767885"></a-plane>
<a-sky color="#ECECEC"></a-sky>
</a-scene>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment