title: How to make a sphere made out of random particles in three.js
body: <p>I need some help making a sphere out of random particles in three.js. </p>
  
  <p>I know how to make different shapes out of particles, but not how to make them randomly.</p>
  
  <p>This is what I currently have,</p>
  
  <pre><code>// point cloud geometry
  var geometry = new THREE.SphereGeometry(100, 100, 100);
  
  material = new THREE.PointCloudMaterial({
      size: 1,
      transparent: true,
      opacity: 0.5,
      color: 0xffffff
  });
  
  // point cloud
  var pointCloud = new THREE.PointCloud(geometry, material);
  
  //add to scene
  scene.add( pointCloud );
  </code></pre>
  
  <p>thanks</p>