ibolmo / moocanvas

MooTools-style Canvas

This URL has Read+Write access

name age message
directory Canvas/ Thu Sep 03 08:49:13 -0700 2009 \r\n to \n and added new lines. [unknown]
file README.md Thu Sep 03 08:49:13 -0700 2009 \r\n to \n and added new lines. [unknown]
directory assets/ Thu Sep 03 08:49:13 -0700 2009 \r\n to \n and added new lines. [unknown]
directory demos/ Thu Sep 03 08:49:13 -0700 2009 \r\n to \n and added new lines. [unknown]
file get.php Thu Sep 03 08:52:15 -0700 2009 testing push [ibolmo]
directory images/ Thu Jan 01 22:49:25 -0800 2009 Adding the last SVN (git svn import broken and ... [ibolmo]
file index.php Wed Sep 02 13:35:07 -0700 2009 added $.element to make compatible with mootool... [eerne]
README.md

Introduction

MooTools Canvas is a byproduct of Google's Excanvas and a script by Ralph Sommerer. In retrospect, I can't tell where one ends and one begins. Moreover, there hasn't been a single line of code that I haven't personally modified for performance, file-size reduction, or programming-style maintenance.

Thanks to MooTools, the new Canvas class is: small, modular, and lightweight.

Example

var cv = new Canvas();
var ctx = cv.getContext('2d');
$(document.body).adopt(cv);

*More information on the site