title: Random Objects in Canvas
body: <p>I created a canvas and I want to add ramdomly objects(square, circle, rectangle..) in every five second?</p>
  
  <pre><code>  &lt;body&gt;
      &lt;canvas id="c" width=400" height="400"&gt;&lt;/canvas&gt;
      &lt;script type="text/javascript"&gt;
  
  
  var canvas = new fabric.Canvas('c');
  var rect = new fabric.Rect({
    left: 50,
    top: 50,
    fill: 'green',
    width: 40,
    height: 80
  });
  var circle = new fabric.Circle({
    radius: 20, 
    fill: 'red', 
    left: 100, 
    top: 100
  });
  canvas.add(rect);
  canvas.add(circle);
  
      &lt;/script&gt;
  </code></pre>