Uncategorized24 Feb 2008 06:39 pm
Code released into public domain
Since I have moved on to other projects, I hereby release the JavaScript code (http://canvaspaint.org/paint.js) into the wild: If this code, messy as it is, is of any use to you, feel free to take it.
This expressly does not include images, cursors or any other intellectual property, the rights to which I do not own myself.

February 24th, 2008 at 19:0
Yes, this works great for me. Thanks.
March 16th, 2008 at 19:1
Thanks you!
I reaaally apreciate this contribution to the public domain! I will(try ;P) to use it in my online apps.
Thanks, Jeffrey
March 21st, 2008 at 07:1
Very cool! I’ve been working on an online vector editing program for over a year now, and remember that when I started, CanvasPaint.org was one of my main inspirations :)
Good luck with Soup.io
April 3rd, 2008 at 10:1
Hey can you make canvaspaint.org work with IE if the Novell XForms plugin is installed? It also adds tag support to IE, as you must be knowing already.
June 18th, 2008 at 20:1
ooops, in firefox 3 the canvaspaint does not render properly ¿somo quick and dirty fix?
June 22nd, 2008 at 16:1
Inspirated on your and another works, I make one drawing game using the tag.
The name is Gartic and is player for a lot of peoples in Brazil.
We recentily create a english version of the game, and I would like to show: http://www.gartic.net
July 27th, 2008 at 14:1
I get a dirty fix for firefox 3
in the css: add background color
#titlebar {
top:0px;
height:17px;
width:100%;
background-color:#093B6E;
}
in the javascript: delete the following
gradientcanvas = document.getElementById(’gradient’);
if(gradientcanvas.getContext){
var g = gradientcanvas.getContext(’2d’);
grad = g.createLinearGradient(0, 0, 200, 15);
grad.addColorStop(0, ‘#036′);
grad.addColorStop(1, ‘#ACF’);
g.fillStyle = grad;
g.fillRect(0, 0, 300, 17);
}
we lost the gradient in the title bar but render correctly in firefox 3
August 28th, 2008 at 04:1
Let’s vote for Canvas Tag support in IE8!
http://groups.google.com/group/google-excanvas/browse_thread/thread/6f35f6db27462b10/d4b77fa839073e01
September 7th, 2008 at 02:1
[...] it well. There is a very nice mock up of windows paint program that demos what is possible. The source code is available too. A quick try in different browsers shows some dramatic differences [...]
November 17th, 2008 at 22:0
Thank you so much - it gave me an idea what to look for, for my c# homework.
March 16th, 2009 at 15:1
CanvasPaint code released into public domain…
Pretty cool: The CanvasPaint source is now freely available. Good job, Christopher!…
March 29th, 2009 at 18:1
invert colors tool not workt inplace it just cleard
March 29th, 2009 at 18:1
but i meant on canvaspaint.org
April 22nd, 2009 at 03:1
I have tried the other canvas tag paint applications and they work for IE7. Does anybody know if this canvas paint application works for IE7? Meaning, if I delete the code that checks for IE, then this will work. Or should I just modify the other one to handle saves and loading.
This is for an application for my class, and the professor is not on board with excluding IE (I am not either!).
May 6th, 2009 at 22:1
Thanks for making this public. YOU ARE THE MAN!!!
May 15th, 2009 at 14:1
online annotation…
I would be great to have an online annotation program where someone can post a draft of a paper and others can annotate it right there in the browser. I know there are commercial sites that do this but an open-source solution would be better. Read…
July 4th, 2009 at 17:1
This is an amazing piece of work… I want to give you full credit for single-handedly opening up my eyes to what is truly possible with browser-based applications. Who needs the Desktop OS anymore? Hahah, well I thought I’d let you know of how I plan to use your now righteously PUBLIC script with another innovative image cropping system, early tests here:
http://bcmoney-mobiletv.com/gallery/crop/test.cropinterface.php
I was wondering if you could make some of the PHP scripts available as well, for example, “Open Image from URL” (open.php) and “Save Online” (save.php) scripts…
While the functionality in these little scripts is pretty clear, it would definitely save me a ton of time to focus more on the cropping/taggin/annotations system I’m working on…
I’d like to send an in-kind donation for the excellent work, either way…
July 4th, 2009 at 18:1
Might have known I could help myself if I looked around a little further…
Saving canvas images with PHP: http://canvaspaint.org/blog/2007/01/
Thanks for that info, how about loading from URL into the canvas? I have loaded images from URL before in AJAX and PHP, but what about inserting that image as an object into the canvas? Can’t quite get my head around that…
THX
July 4th, 2009 at 22:1
Drop me an email at canvas@c3o.org and I’ll send you save.php & open.php
As for inserting the image into the canvas, that’s easy: Create a standard img tag for the image you want to open and when that has loaded, use drawImage to paint it to the canvas tag. It’s at the very end of http://canvaspaint.org/paint.js
August 27th, 2009 at 09:1
What a great job, im quite impressed by your work.
But im having problems with the open.php and save.php,i dont know what will be the codes for that.
i couldnt get it right.. I already send you an email, and hope that you could help me with this. I really need to make it.
Please forgive me cause im still a beginner with these things, i know i still need a lot to learn.
Thanks
August 28th, 2009 at 02:1
Thank you very much sir, i already received the files i needed.
Its a really big help!
Thanks bro, God bless!! ~_~
September 23rd, 2009 at 02:1
Too bad he isn’t still working on it,
Google Chrome Frame for internet explorer was just released,
I just tried it on canvas paint, and it somewhat works in IE
install the plugin and type cf:http://canvaspaint.org/
October 7th, 2009 at 06:1
[...] gracia de CanvasPaint es que además es libre (de dominio público) la librería [...]
October 13th, 2009 at 16:1
High five for public domain! This will put me leaps and bounds towards completing my senior capstone project at implementing a collaborative drawing gadget for Google Wave. I’ll leave another comment with the results in December.
December 10th, 2009 at 07:0
Just thought I’d drop by to say thanks for the code. I used it in my senior capstone project to develop a collaborative drawing gadget for Google Wave. It’s still in a very alpha state, but you can have a look for yourself if you like.
https://code.google.com/p/sketchpad-for-wave/