HTML5 Canvas API HTML5 Canvas.
, :
context.strokeStyle = '#f00';
context.lineWidth = 4;
context.fillRect (0, 0, 100, 100);
context.strokeRect(0, 0, 100, 100);
You can try to get more control with the library ( Processing.js or Fabric.js )
Bfil source
share