Skip to content

Instantly share code, notes, and snippets.

View caseprince's full-sized avatar
🎯
Focusing

Case Prince caseprince

🎯
Focusing
View GitHub Profile
var three = THREE;
makeFrame = function(rotation) {
var width = 200;
var height = 150;
var scene = new three.Scene();
var camera = new three.PerspectiveCamera(30, width/height, 0.1, 500);
var renderer = new three.WebGLRenderer();
renderer.setSize(width, height);