(function() {

  window.samples.spinning_wireframe_cube = {

    initialize: function(canvas) {
      var scene = new THREE.Scene();

      var camera = new THREE.PerspectiveCamera( 75, sample_defaults.width / sample_defaults.height, 1, 1000 );
      camera.position.z = 100;

      var geometry = new THREE.CubeGeometry( 70, 70, 70 );
      var material = new THREE.MeshLambertMaterial( { color: 0xdddddd, wireframe: true, wireframeLinewidth: 3 } );

      var axisHelper = new THREE.AxisHelper();
      axisHelper.scale.x = axisHelper.scale.y = axisHelper.scale.z = 0.5;
      scene.add( axisHelper );

      var mesh = new THREE.Mesh( geometry, material );
      scene.add( mesh );

      var renderer = new THREE.WebGLRenderer({canvas: canvas});
      renderer.setSize( sample_defaults.width, sample_defaults.height );

      var instance = { active: false };
      function animate() {
        requestAnimationFrame( animate, canvas );
        if(!instance.active || sample_defaults.paused) return;

        mesh.rotation.y += 0.015;

        renderer.render( scene, camera );
      }

      animate();
      return instance;
    }
  };
})();

(function() {

  window.samples.spinning_wireframe_cube = {

    initialize: function(canvas) {
      var scene = new THREE.Scene();

      var camera = new THREE.PerspectiveCamera( 30, sample_defaults.width / sample_defaults.height, 1, 1000 );
      camera.position.set(0, 3, 7);
      camera.lookAt( new THREE.Vector3(0,0,0));

      var scale = 2.5;
      var geometry = new THREE.CubeGeometry( scale, scale, scale );
      var material = new THREE.MeshBasicMaterial( { color: 0x000000, wireframe: true, wireframeLinewidth: 3 } );

      var mesh = new THREE.Mesh( geometry, material );
      scene.add( mesh );

      var axisHelper = new THREE.AxisHelper();
      axisHelper.scale.x = axisHelper.scale.y = axisHelper.scale.z = 0.015;
      scene.add( axisHelper );

      var renderer = new THREE.WebGLRenderer({canvas: canvas, antialias: true});
      renderer.setSize( sample_defaults.width, sample_defaults.height );

      var instance = { active: false };
      function animate() {
        requestAnimationFrame( animate, canvas );
        if(!instance.active || sample_defaults.paused) return;

        mesh.rotation.y += 0.008;

        renderer.render( scene, camera );
      }

      animate();
      return instance;
    }
  };
})();

Change wireframe cube to resemble other cube samples
Change wireframe cube to resemble other cube samples
