title: Draw on HTML5 canvas and use the drawing as a div
body: <p>Is it possible to draw on the canvas using HTML5 and other js libraries and use the resulting drawing as a div?</p>
  
  <p>I am interested in achieving a box (for starters) that is not drawn by regular css borders, but by a shape drawn on the canvas. Is that possible? And how? </p>
  
  <p>I found paper.js on google, but that is all about drawing. How to use that drawing as a div in regular HTML (5) is my question.
  Thank you</p>