Template:Team:UC Davis/MutantWidget
From 2011.igem.org
(Difference between revisions)
Line 529: | Line 529: | ||
var scene = new THREE.Scene(); | var scene = new THREE.Scene(); | ||
camera.position.z = 150; | camera.position.z = 150; | ||
+ | camera.position.y = 75; | ||
+ | camera.rotation.y = -Math.pi/6; | ||
renderer.setSize(WIDTH, HEIGHT); | renderer.setSize(WIDTH, HEIGHT); | ||
$container.append(renderer.domElement); | $container.append(renderer.domElement); | ||
Line 588: | Line 590: | ||
origin_object.addChild(plot_mesh); | origin_object.addChild(plot_mesh); | ||
- | origin_object.rotation.z = -150*Math.PI/180; | + | //origin_object.rotation.z = -150*Math.PI/180; |
- | origin_object.rotation.y = 0*Math.PI/180; | + | //origin_object.rotation.y = 0*Math.PI/180; |
- | origin_object.rotation.x = -60*Math.PI/180; | + | //origin_object.rotation.x = -60*Math.PI/180; |
origin_object.scale.x = -1; | origin_object.scale.x = -1; |
Revision as of 04:41, 25 September 2011