WebGL Lesson 03

Example Source: Learning WebGL

Here are some lines of code.

Same code again in other style.

var renderer = new THREE.WebGLRenderer();
renderer.setSize( 800, 400 );
document.body.appendChild( renderer.domElement );

1-2-three
lesson 03