Changing onClick to be random
<p>I'm looking to make the handler OnClick to just be random instance instead of requiring user interaction.</p>

<pre><code>// add the canvas in
  document.body.appendChild(mainCanvas);
  document.addEventListener('mouseup', createFirework, true);
  document.addEventListener('touchend', createFirework, true);

// and now we set off
    update();
  }

  /**
   * Pass through function to create a
   * new firework on touch / click
   */
  function createFirework() {
        createParticle();
  }
</code></pre>

<p>Thanks! :)</p>
