Skip to content

Instantly share code, notes, and snippets.

@pyadav
Created October 23, 2018 16:01
Show Gist options
  • Select an option

  • Save pyadav/36e8d0531316c71e9c8e52f3d9532d93 to your computer and use it in GitHub Desktop.

Select an option

Save pyadav/36e8d0531316c71e9c8e52f3d9532d93 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Beginning with Three.js</title>
<meta name="description" content="Beginning with Three.js">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="author" content="Praveen Yadav">
<!-- INTERNAL CSS WITH RESET -->
<style>
body { margin: 0; }
canvas { width: 100%; height: 100% }
</style>
</head>
<body>
<!-- Three.js from CDN -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r83/three.min.js"></script>
<!-- Our custom code -->
<script src="js/scripts.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment