awacke1's picture
Update index.html
7c8a2ff
raw
history blame
810 Bytes
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A-Frame DNA Demo</title>
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
</head>
<body>
<a-scene>
<!-- First Helix -->
<a-cylinder position="0 0 -5" height="4" radius="0.5" color="red"></a-cylinder>
<a-torus position="0 2 -5" radius="1" radius-tubular="0.1" color="red"></a-torus>
<!-- Second Helix -->
<a-cylinder position="1 0 -5" height="4" radius="0.5" color="blue"></a-cylinder>
<a-torus position="1 2 -5" radius="1" radius-tubular="0.1" color="blue"></a-torus>
<!-- Background -->
<a-plane position="0 0 -7" rotation="-90 0 0" width="10" height="10" color="#7BC8A4"></a-plane>
<a-sky color="#ECECEC"></a-sky>
</a-scene>
</body>
</html>