Skip to content

Instantly share code, notes, and snippets.

@neerajt
Created November 8, 2016 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neerajt/01d1fa118fe374ff7497e5296911a1dc to your computer and use it in GitHub Desktop.
Save neerajt/01d1fa118fe374ff7497e5296911a1dc to your computer and use it in GitHub Desktop.
south park
license: mit
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>South Park! • A-Frame</title>
<meta name="description" content="South Park! • A-Frame">
<script src="https://cdnjs.cloudflare.com/ajax/libs/aframe/0.3.2/aframe.min.js"></script>
</head>
<body>
<a-scene>
<!-- Stan -->
<a-sphere position="-2 2 0" radius="0.8" color="#FCD7B1"></a-sphere>
<!-- Stan's hat -->
<a-sphere position="-2 2 0"
radius="0.805"
color="#4255A1"
theta-length="75"
></a-sphere>
<!-- Stan's hat's red band -->
<a-cylinder position="-2 2.15 0"
height="0.2"
radius="0.81"
color="#EB2A33"
></a-cylinder>
<!-- Stan's hat's Bunny tail -->
<a-sphere position="-2 2.85 0"
radius="0.2"
color="#EB2A33"
></a-sphere>
<!-- Kyle -->
<a-sphere position="0 2 0" radius="0.75" color="#FCD7B1"></a-sphere>
<!-- Kyle's hat -->
<a-box position="0 2.5 0"
height="0.75"
width="1.5"
depth="1.5"
color="#6ABA56"
></a-box>
<!-- hat rim -->
<a-box position="0 2.3 0.1"
height="0.35"
width="1.25"
depth="1.5"
color="#159664"
></a-box>
<!-- Cartman -->
<a-sphere
position="2 2.1 0"
radius="0.75"
color="#FCD7B1"
></a-sphere>
<a-sphere position="2 2.15 0" radius="0.75" color="#56C3E9"></a-sphere>
<a-sphere position="2 2.8 0.1"
radius="0.25"
color="#F7D937"
></a-sphere>
<!-- Kenny -->
<!-- Kenny's hoodie -->
<a-sphere
position="4 2.125 -0.15"
radius="0.9"
color="#F16C2E"
></a-sphere>
<a-sphere position="4 2.11 0" radius="0.8" color="#8E2A21"></a-sphere>
<a-sphere position="4 2.075 0.0725" radius="0.75" color="#FCD7B1"></a-sphere>
<!--<a-plane rotation="-90 0 0" width="4" height="4" color="lightgrey"></a-plane>-->
<a-sky color="lightblue"></a-sky>
<a-entity position="1 0 6">
<a-camera></a-camera>
</a-entity>
</a-scene>
</body>
</html>
neerajt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment