JavaScript PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Canvas
assets
demos
images
README.md
get.php
index.php

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