<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3604425971259502766.post5582286135769392928..comments</id><updated>2011-07-11T20:35:46.936+02:00</updated><category term='sl4a'/><category term='beer'/><category term='ardrone'/><category term='synergy'/><category term='wiimote'/><category term='wedding'/><category term='scifi'/><category term='robot'/><category term='pla'/><category term='sketchup'/><category term='ros'/><category term='xbee'/><category term='friendtofriend'/><category term='open source'/><category term='nessie'/><category term='glee'/><category term='bike'/><category term='instructable'/><category term='firefox'/><category term='htpc'/><category term='irobot'/><category term='suspicions'/><category term='git'/><category term='pwnage'/><category term='darknet'/><category term='symbian'/><category term='haskell'/><category term='keyboard'/><category term='repair'/><category term='germany'/><category term='tv'/><category term='eclipse'/><category term='vim'/><category term='xbox'/><category term='review'/><category term='recipes'/><category term='famous'/><category term='rant'/><category term='backup'/><category term='bittorrent'/><category term='weather'/><category term='story'/><category term='rosjava'/><category term='hushnote'/><category term='lego'/><category term='diy'/><category term='halo'/><category term='olpc'/><category term='java'/><category term='san francisco'/><category term='friendfeed'/><category term='security'/><category term='uvc'/><category term='cougar'/><category term='wxpython'/><category term='webcam'/><category term='xmlrpc'/><category term='faq'/><category term='cats'/><category term='django'/><category term='icecast'/><category term='networking'/><category term='car talk'/><category term='anonymous'/><category term='android'/><category term='craft'/><category term='chumby'/><category term='mac'/><category term='puzzles'/><category term='accelerometer'/><category term='led'/><category term='makerbot'/><category term='project'/><category term='ubuntu'/><category term='eclispe'/><category term='cmucam'/><category term='svn'/><category term='google'/><category term='ruby'/><category term='articles'/><category term='npr'/><category term='media'/><category term='slides'/><category term='futurama'/><category term='munich'/><category term='javascript'/><category term='comics'/><category term='perl'/><category term='lucid'/><category term='rhythmbox'/><category term='wine'/><category term='attiny'/><category term='photos'/><category term='lua'/><category term='roomba'/><category term='nxt'/><category term='zoo'/><category term='shell'/><category term='python'/><category term='g1'/><category term='computer'/><category term='mjpeg'/><category term='fallout'/><category term='windows'/><category term='inkscape'/><category term='pertelian'/><category term='attiny2313'/><category term='pipes'/><category term='hardware'/><category term='peertopeer'/><category term='presentations'/><category term='gstreamer'/><category term='apache'/><category term='linux'/><category term='arduino'/><category term='kinesis'/><category term='router'/><category term='math'/><category term='personal'/><category term='php'/><category term='photography'/><category term='programming'/><category term='videos'/><category term='wii'/><category term='ssh'/><category term='games'/><category term='music'/><category term='opendht'/><category term='book'/><category term='electronics'/><category term='gps'/><category term='bluetooth'/><category term='scooba'/><category term='n95'/><category term='blogger'/><category term='openscad'/><category term='appengine'/><category term='wireless'/><category term='bavaria'/><category term='hacks'/><category term='rpg'/><category term='fido'/><category term='ase'/><category term='maps'/><category term='reprap'/><category term='mercurial'/><title type='text'>Comments on damonkohler: JavaScript Painting with Canvas</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.damonkohler.com/feeds/5582286135769392928/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default'/><link rel='alternate' type='text/html' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html'/><author><name>Damon Kohler</name><uri>https://profiles.google.com/111315168223845673859</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-qJTwlf_W_2U/AAAAAAAAAAI/AAAAAAAAJ-g/r8-xV5vLL0U/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3604425971259502766.post-2365747158785242647</id><published>2011-07-11T20:35:46.936+02:00</published><updated>2011-07-11T20:35:46.936+02:00</updated><title type='text'>how can I submit it to a Mysql data base?

or how ...</title><content type='html'>how can I submit it to a Mysql data base?&lt;br /&gt;&lt;br /&gt;or how can I save it as an image</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/2365747158785242647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/2365747158785242647'/><link rel='alternate' type='text/html' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html?showComment=1310409346936#c2365747158785242647' title=''/><author><name>hezimz</name><uri>http://www.blogger.com/profile/17813170956252737894</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html' ref='tag:blogger.com,1999:blog-3604425971259502766.post-5582286135769392928' source='http://www.blogger.com/feeds/3604425971259502766/posts/default/5582286135769392928' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2080063823'/></entry><entry><id>tag:blogger.com,1999:blog-3604425971259502766.post-8484126029735653048</id><published>2011-03-03T02:05:21.079+01:00</published><updated>2011-03-03T02:05:21.079+01:00</updated><title type='text'>Great example, thanks!</title><content type='html'>Great example, thanks!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/8484126029735653048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/8484126029735653048'/><link rel='alternate' type='text/html' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html?showComment=1299114321079#c8484126029735653048' title=''/><author><name>meloman</name><uri>http://www.blogger.com/profile/17530071325439024239</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html' ref='tag:blogger.com,1999:blog-3604425971259502766.post-5582286135769392928' source='http://www.blogger.com/feeds/3604425971259502766/posts/default/5582286135769392928' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-384519696'/></entry><entry><id>tag:blogger.com,1999:blog-3604425971259502766.post-8230451082251280388</id><published>2011-02-19T10:24:54.990+01:00</published><updated>2011-02-19T10:24:54.990+01:00</updated><title type='text'>If you dont want to think how to realize functions...</title><content type='html'>If you dont want to think how to realize functions like onmousemove() with some objects on canvas, you can use javascript frameworks, like &lt;a href="http://jcscript.com" rel="nofollow"&gt;jCanvaScript&lt;/a&gt;. Its very simple and have good documentation.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/8230451082251280388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/8230451082251280388'/><link rel='alternate' type='text/html' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html?showComment=1298107494990#c8230451082251280388' title=''/><author><name>Alexander</name><uri>http://www.blogger.com/profile/14020952306501332444</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html' ref='tag:blogger.com,1999:blog-3604425971259502766.post-5582286135769392928' source='http://www.blogger.com/feeds/3604425971259502766/posts/default/5582286135769392928' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1271497270'/></entry><entry><id>tag:blogger.com,1999:blog-3604425971259502766.post-6191815307296423911</id><published>2010-10-08T10:42:23.918+02:00</published><updated>2010-10-08T10:42:23.918+02:00</updated><title type='text'>To support touch devices like iPhones and iPads, j...</title><content type='html'>To support touch devices like iPhones and iPads, just add the following &lt;br /&gt;&lt;br /&gt;      canvas.ontouchstart = function(e) {&lt;br /&gt; var first = e.changedTouches[0];&lt;br /&gt;&lt;br /&gt;        x = first.clientX;&lt;br /&gt;        y = first.clientY;&lt;br /&gt;        ctx.moveTo(x, y);&lt;br /&gt;      }&lt;br /&gt;&lt;br /&gt;      canvas.ontouchend = function(e) {&lt;br /&gt;        x = null;&lt;br /&gt;        y = null;&lt;br /&gt;      }&lt;br /&gt;&lt;br /&gt;      canvas.ontouchmove = function(e) {&lt;br /&gt;        if (x == null || y == null) {&lt;br /&gt;          return;&lt;br /&gt;        }&lt;br /&gt; var first = e.changedTouches[0];&lt;br /&gt;&lt;br /&gt;        x = first.pageX;&lt;br /&gt;        y = first.pageY;&lt;br /&gt;        x -= canvas.offsetLeft;&lt;br /&gt;        y -= canvas.offsetTop;&lt;br /&gt;        ctx.lineTo(x, y);&lt;br /&gt;        ctx.stroke();&lt;br /&gt;        ctx.moveTo(x, y);&lt;br /&gt;      }</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/6191815307296423911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/6191815307296423911'/><link rel='alternate' type='text/html' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html?showComment=1286527343918#c6191815307296423911' title=''/><author><name>Brinley Ang</name><uri>http://www.blogger.com/profile/17989738013533062494</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html' ref='tag:blogger.com,1999:blog-3604425971259502766.post-5582286135769392928' source='http://www.blogger.com/feeds/3604425971259502766/posts/default/5582286135769392928' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-167763499'/></entry><entry><id>tag:blogger.com,1999:blog-3604425971259502766.post-500178859451991815</id><published>2010-06-28T05:14:02.981+02:00</published><updated>2010-06-28T05:14:02.981+02:00</updated><title type='text'>You should put this :
x -= canvas.offsetLeft;
y -=...</title><content type='html'>You should put this :&lt;br /&gt;x -= canvas.offsetLeft;&lt;br /&gt;y -= canvas.offsetTop;&lt;br /&gt;on your onmousedown.&lt;br /&gt;Else, you will have a bug if you put your canvas in an other position on the screen then 0,0.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/500178859451991815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/500178859451991815'/><link rel='alternate' type='text/html' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html?showComment=1277694842981#c500178859451991815' title=''/><author><name>Alain</name><uri>http://www.blogger.com/profile/12929413245632105208</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html' ref='tag:blogger.com,1999:blog-3604425971259502766.post-5582286135769392928' source='http://www.blogger.com/feeds/3604425971259502766/posts/default/5582286135769392928' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-249728522'/></entry><entry><id>tag:blogger.com,1999:blog-3604425971259502766.post-2327080083155736991</id><published>2009-08-11T08:25:29.319+02:00</published><updated>2009-08-11T08:25:29.319+02:00</updated><title type='text'>Yes, the &lt;a href="http://en.wikipedia.org/wiki/Can...</title><content type='html'>Yes, the &lt;a href="http://en.wikipedia.org/wiki/Canvas_(HTML_element)" rel="nofollow"&gt;canvas tag&lt;/a&gt; is part of HTML5 and not supported in IE without a plugin.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/2327080083155736991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/2327080083155736991'/><link rel='alternate' type='text/html' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html?showComment=1249971929319#c2327080083155736991' title=''/><author><name>Damon</name><uri>http://www.blogger.com/profile/17362087152286203901</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html' ref='tag:blogger.com,1999:blog-3604425971259502766.post-5582286135769392928' source='http://www.blogger.com/feeds/3604425971259502766/posts/default/5582286135769392928' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1935565220'/></entry><entry><id>tag:blogger.com,1999:blog-3604425971259502766.post-7511327375728932498</id><published>2009-08-10T19:35:59.432+02:00</published><updated>2009-08-10T19:35:59.432+02:00</updated><title type='text'>It doesn&amp;#39;t seem to work in IE. Is canvas tag M...</title><content type='html'>It doesn&amp;#39;t seem to work in IE. Is canvas tag Mozilla, Chrome specific?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/7511327375728932498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/7511327375728932498'/><link rel='alternate' type='text/html' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html?showComment=1249925759432#c7511327375728932498' title=''/><author><name>Purvi</name><uri>http://www.blogger.com/profile/17016715338782436208</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html' ref='tag:blogger.com,1999:blog-3604425971259502766.post-5582286135769392928' source='http://www.blogger.com/feeds/3604425971259502766/posts/default/5582286135769392928' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1925654914'/></entry><entry><id>tag:blogger.com,1999:blog-3604425971259502766.post-5590366034244102078</id><published>2009-02-25T18:53:00.000+01:00</published><updated>2009-02-25T18:53:00.000+01:00</updated><title type='text'>You're welcome. I was having trouble finding it to...</title><content type='html'>You're welcome. I was having trouble finding it too :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/5590366034244102078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/5590366034244102078'/><link rel='alternate' type='text/html' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html?showComment=1235584380000#c5590366034244102078' title=''/><author><name>Damon</name><uri>http://www.blogger.com/profile/17362087152286203901</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html' ref='tag:blogger.com,1999:blog-3604425971259502766.post-5582286135769392928' source='http://www.blogger.com/feeds/3604425971259502766/posts/default/5582286135769392928' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1935565220'/></entry><entry><id>tag:blogger.com,1999:blog-3604425971259502766.post-2630356850271951888</id><published>2009-02-25T18:47:00.000+01:00</published><updated>2009-02-25T18:47:00.000+01:00</updated><title type='text'>Thank you for this.  I was having trouble finding ...</title><content type='html'>Thank you for this.  I was having trouble finding a simple implementation of this sort of thing.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/2630356850271951888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604425971259502766/5582286135769392928/comments/default/2630356850271951888'/><link rel='alternate' type='text/html' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html?showComment=1235584020000#c2630356850271951888' title=''/><author><name>SammyIAm</name><uri>http://www.blogger.com/profile/00391446812951837494</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.damonkohler.com/2008/12/javascript-painting-with-canvas.html' ref='tag:blogger.com,1999:blog-3604425971259502766.post-5582286135769392928' source='http://www.blogger.com/feeds/3604425971259502766/posts/default/5582286135769392928' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-15565184'/></entry></feed>
