title: How to set Paper.js Canvas background fill color (No CSS background)
body: <p>I'm working on a paper.js animation. The animation contains multiple paths. I'm using <a href="https://github.com/spite/ccapture.js" rel="nofollow noreferrer">ccapture.js</a> to export the animation in a video.
  What ccapture.js does is capture the drawing on canvas frame by frame and convert it into video.</p>
  <p>The problem I'm facing is, in the animation I want the background color of canvas to be white. If I set the background color of canvas using css <code>background-color: white;</code> ccapture will ignore this color and the background color in the captured video will be black as white color is not drawn on canvas and is only background of the element. I've tested this method with no luck.</p>
  <p>I've tried adding a white rectangle path in animation but it hides the animation and all I could see is the white rectangle. I found the reference of a function to put the white rectangle at back using <code>sentToBack()</code> from following <a href="https://stackoverflow.com/a/25791052/1433217">answer</a>, I'm using it like this:</p>
  <pre><code>var rect = new Path.Rectangle({
      point: [0, 0],
      size: [view.size.width / 2, view.size.height / 2],
      strokeColor: 'white',
      fillColor: 'white',
      selected: true
  });
  rect.sendToBack();
  </code></pre>
  <p>I can't find the reference of this function in paper.js documentation so I'm not sure if I'm using it the right way.</p>
  <p>I've also tried creating the rectangle at starting of paperscript as well as ending of paperscript, thought the order of creating paths might solve the issue. But its not helping either.</p>
  <p>Is there any other way using which I can set the background fill color of canvas to white. Please ask me for more details.
  Thanks in advance.</p>