Skip to content

Instantly share code, notes, and snippets.

@philwilliammee
Created October 4, 2016 09:52
Show Gist options
  • Save philwilliammee/235b141ec170d65db8fea44949274aef to your computer and use it in GitHub Desktop.
Save philwilliammee/235b141ec170d65db8fea44949274aef to your computer and use it in GitHub Desktop.
<div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r79/three.min.js"></script>
<script src="http://stemkoski.github.io/Three.js/js/OrbitControls.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.6.0/dat.gui.js"></script>
<div id="myCanvas">
<div id="myGui"></div>
</div>
<script src="https://cdn.rawgit.com/philwilliammee/pincherJS/20ea07047ebbfa73e83b7446bc5926ec3ec51887/js/pincherGL.js"></script>
<script>
var pincher = new Pincher(600, 600);
var container = document.getElementById( 'myCanvas' );
container.appendChild( pincher.renderer.domElement );
</script>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment