Get started with aframe CDN

MIT licensed

A-Frame: HTML VR experiences with Entity-Component-System architecture.

Tags:
  • aframe
  • vr
  • webvr
  • 3d
  • three
  • components
  • elements

Stable version

Copied!

How to start using aframe CDN


<!DOCTYPE html>
<html>
<head>
    <meta name="description" content="A simple A-Frame scene example.">
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
    <script src="https://cdn.cdnhub.io/aframe/1.5.0/aframe.min.js"></script>
</head>
<body>
    <a-scene>
        <a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9">
            <a-entity gltf-model="model.gltf" position="0 1 -2"></a-entity>
        </a-box>
        <a-camera position="0 0 5" look-controls></a-camera>
    </a-scene>
</body>
</html>

All versions