jCanvas

jQuery meets the HTML5 canvas

jCanvas is a jQuery plugin that makes the HTML5 canvas easy to work with.

Download v5.2.1

Features

  • A simple API for drawing basic and complex shapes
  • Flexible options to tweak your drawings
  • Small size – 13.4kb minified
  • Free and open-source

Syntax

jCanvas's simple syntax makes drawing shapes as easy as it should be.

// Draw a circle
$("canvas").drawArc({
  fillStyle: "black",
  x: 100, y: 100,
  radius: 50
});

For layers, ellipses, and much more, check out the Documentation.

Tweet