Can anyone explain this snippet of Javascript?
<p>Can anyone explain the following code?  Forget the sine and cosine parts.  Is it trying to build a space for the object?</p>

<pre><code>objectsInScene = new Array();

for (var i=space; i&lt;180; i+=space) {

  for (var angle=0; angle&lt;360; angle+=space) {

    var object = {};

    var x = Math.sin(radian*i)*radius;
    object.x = Math.cos(angle*radian)*x;
    object.y = Math.cos(radian*i)*radius;
    object.z = Math.sin(angle*radian)*x;
    objectsInScene.push(object);
  }
}
</code></pre>
