solar-system
Version:
Solar System with Threejs
35 lines (27 loc) • 1.32 kB
HTML
<html>
<head>
<meta charset="utf-8">
<title>Solar System Three Project</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/main.css">
<script type="text/javascript" src="../bower_components/underscore/underscore-min.js"></script>
<script type="text/javascript" src="../bower_components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="../bower_components/three.js/build/three.min.js"></script>
<script type="text/javascript" src="../bower_components/three.js/examples/js/controls/TrackballControls.js"></script>
<script type="text/javascript" src="../bower_components/three.js/examples/js/libs/stats.min.js"></script>
<script type="text/javascript" src="../bower_components/three.js/examples/js/libs/require.js"></script>
<script type="text/javascript" src="../dist/solar-system.min.js"></script>
<link rel="import" href="../bower_components/polymer/polymer.html">
<link rel="import" href="../dist/solar-system.htm">
</head>
<body>
<solar-system
width="500"
height="500"
bodies-src="data/bodies.properties.json"
camera-src="data/camera.properties.json"
lights-src="data/lights.properties.json">
</solar-system>
</body>
</html>