Skip to content

jamesdaniels/jquery.chainvas.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

jQuery Chainvas - Chainable Canvas
by James Daniels <james@jamesdaniels.net>

A quick little dirty helper to let you do things like:

$('#tutorial').getContext('2d')
  .clearRect(0,0,600,600)
  .save()
    .beginPath()
    .moveTo(200,200)
    .lineTo(0,0)
    .lineWidth(5)
    .stroke()
  .restore();

TODO: Make it less hackish and check it out on IE

About

jQuery Chainable Canvas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published