Skip to content

Instantly share code, notes, and snippets.

@arikui
Created September 23, 2010 15:42
Show Gist options
  • Save arikui/593823 to your computer and use it in GitHub Desktop.
Save arikui/593823 to your computer and use it in GitHub Desktop.
(function(){
var s = document.createElement("script");
s.src = "http://github.com/arikui/image_processing.js/raw/master/image_processing.js";
var onload = s.onload = function(){
console.time("s");
var ip = new ImageProcessing(jspainter.canvas);
console.timeEnd("s");
};
if(window.ImageProcessing)
onload()
else
document.querySelector("head").appendChild(s);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment