<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Canto.js: An Improved Canvas API</title>
	<atom:link href="http://ajaxian.com/archives/canto-js-an-improved-canvas-api/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: jhartmann</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284859</link>
		<dc:creator>jhartmann</dc:creator>
		<pubDate>Thu, 05 Aug 2010 14:16:12 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284859</guid>
		<description>Can any one else see my comments? I can&#039;t see my comment about wanting to find a new site unless I&#039;m logged in.</description>
		<content:encoded><![CDATA[<p>Can any one else see my comments? I can&#8217;t see my comment about wanting to find a new site unless I&#8217;m logged in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: genericallyloud</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284858</link>
		<dc:creator>genericallyloud</dc:creator>
		<pubDate>Thu, 05 Aug 2010 13:11:36 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284858</guid>
		<description>@ifwdev: yeah... surprised nobody has really stepped up. Is there an open call for contributors/editors?</description>
		<content:encoded><![CDATA[<p>@ifwdev: yeah&#8230; surprised nobody has really stepped up. Is there an open call for contributors/editors?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vjeux</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284857</link>
		<dc:creator>vjeux</dc:creator>
		<pubDate>Wed, 04 Aug 2010 18:12:47 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284857</guid>
		<description>@ifwdev: same as you ... :(</description>
		<content:encoded><![CDATA[<p>@ifwdev: same as you &#8230; :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pianoroy</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284856</link>
		<dc:creator>pianoroy</dc:creator>
		<pubDate>Wed, 04 Aug 2010 15:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284856</guid>
		<description>@adunn - Thanks for the link!
I also periodically check Chris Heilmann&#039;s and Michael Mahemoff&#039;s blogs (available on the links at the right). They&#039;re smart and they have interesting and relevant things to say.</description>
		<content:encoded><![CDATA[<p>@adunn &#8211; Thanks for the link!<br />
I also periodically check Chris Heilmann&#8217;s and Michael Mahemoff&#8217;s blogs (available on the links at the right). They&#8217;re smart and they have interesting and relevant things to say.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adunn</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284855</link>
		<dc:creator>adunn</dc:creator>
		<pubDate>Wed, 04 Aug 2010 14:05:26 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284855</guid>
		<description>http://dailyjs.com/ - purely javascript site, some similar content though.</description>
		<content:encoded><![CDATA[<p><a href="http://dailyjs.com/" rel="nofollow">http://dailyjs.com/</a> &#8211; purely javascript site, some similar content though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leptons</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284852</link>
		<dc:creator>leptons</dc:creator>
		<pubDate>Tue, 03 Aug 2010 22:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284852</guid>
		<description>@ifwdev yeah, me too - this site seems a bit dead now.  what is everyone else reading instead of ajaxian now?</description>
		<content:encoded><![CDATA[<p>@ifwdev yeah, me too &#8211; this site seems a bit dead now.  what is everyone else reading instead of ajaxian now?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ifwdev</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284851</link>
		<dc:creator>ifwdev</dc:creator>
		<pubDate>Tue, 03 Aug 2010 14:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284851</guid>
		<description>For some reason I still check this site daily.  I think that is about to change though...</description>
		<content:encoded><![CDATA[<p>For some reason I still check this site daily.  I think that is about to change though&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jhartmann</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284850</link>
		<dc:creator>jhartmann</dc:creator>
		<pubDate>Tue, 03 Aug 2010 12:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284850</guid>
		<description>This is totally off topic... but now that the guys have gone, we&#039;ve got from 1-2 posts a day to 1-2 a week. If this keeps up, Ajaxian is going to fall off my radar. Any one got another Ajax focused website I can start checking out?</description>
		<content:encoded><![CDATA[<p>This is totally off topic&#8230; but now that the guys have gone, we&#8217;ve got from 1-2 posts a day to 1-2 a week. If this keeps up, Ajaxian is going to fall off my radar. Any one got another Ajax focused website I can start checking out?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brettz9</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284842</link>
		<dc:creator>brettz9</dc:creator>
		<pubDate>Thu, 29 Jul 2010 17:15:03 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284842</guid>
		<description>If you just want method chaining in Canvas, see &lt;a href=&quot;https://developer.mozilla.org/en/Code_snippets/Canvas&quot; rel=&quot;nofollow&quot;&gt;https://developer.mozilla.org/en/Code_snippets/Canvas&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>If you just want method chaining in Canvas, see <a href="https://developer.mozilla.org/en/Code_snippets/Canvas" rel="nofollow">https://developer.mozilla.org/en/Code_snippets/Canvas</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: McDaid</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284841</link>
		<dc:creator>McDaid</dc:creator>
		<pubDate>Thu, 29 Jul 2010 17:04:04 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284841</guid>
		<description>@sixtyseconds

You are correct SVG has that advantage, with canvas any time anything changes I repaint the whole canvas. In browser with native canvas, it is very fast and so this doesn&#039;t really matter. In internet explorer using explorer canvas this a bit more problematic, and animations will become choppy if there are many calculations and objects being drawn. 

SVG is much better if mouse interactions are needed, because mouse events can be attached to any svg shape.

@Stakka

Unless you are writing a game and want the best possible frame rate, I don&#039;t think using the library is going to adversely affect performance. If you want to draw a complex shape such as the famous SVG lion then a function of some kind is needed to process all the points, lines, curves etc. Writing the code the long way would require a longer download time also affecting performance.</description>
		<content:encoded><![CDATA[<p>@sixtyseconds</p>
<p>You are correct SVG has that advantage, with canvas any time anything changes I repaint the whole canvas. In browser with native canvas, it is very fast and so this doesn&#8217;t really matter. In internet explorer using explorer canvas this a bit more problematic, and animations will become choppy if there are many calculations and objects being drawn. </p>
<p>SVG is much better if mouse interactions are needed, because mouse events can be attached to any svg shape.</p>
<p>@Stakka</p>
<p>Unless you are writing a game and want the best possible frame rate, I don&#8217;t think using the library is going to adversely affect performance. If you want to draw a complex shape such as the famous SVG lion then a function of some kind is needed to process all the points, lines, curves etc. Writing the code the long way would require a longer download time also affecting performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stakka</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284839</link>
		<dc:creator>Stakka</dc:creator>
		<pubDate>Thu, 29 Jul 2010 14:03:04 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284839</guid>
		<description>The Canvas API sure could be better, but adding another API layer that affect performance for a bit of syntactic sugar seems like a bad choice.

To write less code, use &#039;with&#039;:
&lt;code&gt;
with (canvas.getContext(&#039;2d&#039;)) beginPath(), moveTo(100,100), lineTo(200,200), lineTo(100,200), stroke();
&lt;/code&gt;

Sure &#039;with&#039; also has a performance penalty, but less than canton.js wrapped function calls.</description>
		<content:encoded><![CDATA[<p>The Canvas API sure could be better, but adding another API layer that affect performance for a bit of syntactic sugar seems like a bad choice.</p>
<p>To write less code, use &#8216;with&#8217;:<br />
<code><br />
with (canvas.getContext('2d')) beginPath(), moveTo(100,100), lineTo(200,200), lineTo(100,200), stroke();<br />
</code></p>
<p>Sure &#8216;with&#8217; also has a performance penalty, but less than canton.js wrapped function calls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mchammer</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284838</link>
		<dc:creator>mchammer</dc:creator>
		<pubDate>Thu, 29 Jul 2010 14:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284838</guid>
		<description>Well done!  Very impressive.</description>
		<content:encoded><![CDATA[<p>Well done!  Very impressive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sixtyseconds</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284837</link>
		<dc:creator>sixtyseconds</dc:creator>
		<pubDate>Thu, 29 Jul 2010 14:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284837</guid>
		<description>@McDaid - The thing i really prefer about using SVG as opposed to canvas is being able to script the elements afterwards.</description>
		<content:encoded><![CDATA[<p>@McDaid &#8211; The thing i really prefer about using SVG as opposed to canvas is being able to script the elements afterwards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jadet</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284836</link>
		<dc:creator>Jadet</dc:creator>
		<pubDate>Thu, 29 Jul 2010 13:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284836</guid>
		<description>Very nice, I like how it handles SVG path strings.</description>
		<content:encoded><![CDATA[<p>Very nice, I like how it handles SVG path strings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kixo</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284835</link>
		<dc:creator>kixo</dc:creator>
		<pubDate>Thu, 29 Jul 2010 13:02:40 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284835</guid>
		<description>It would be nice to have something like this as jQuery plugin.</description>
		<content:encoded><![CDATA[<p>It would be nice to have something like this as jQuery plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: McDaid</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284834</link>
		<dc:creator>McDaid</dc:creator>
		<pubDate>Thu, 29 Jul 2010 12:59:18 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284834</guid>
		<description>@sixtyseconds

I did try Raphael, but initially had problems with it not working on my computer set up in Internet Explorer. The issue has now been fixed, but it put me off a bit using the library.  

The API for canvas can be slightly tedious to work with at first,  but I think it is actually very powerful after a bit of practice.</description>
		<content:encoded><![CDATA[<p>@sixtyseconds</p>
<p>I did try Raphael, but initially had problems with it not working on my computer set up in Internet Explorer. The issue has now been fixed, but it put me off a bit using the library.  </p>
<p>The API for canvas can be slightly tedious to work with at first,  but I think it is actually very powerful after a bit of practice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rasmusfl0e</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284832</link>
		<dc:creator>rasmusfl0e</dc:creator>
		<pubDate>Thu, 29 Jul 2010 09:25:52 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284832</guid>
		<description>It&#039;s kind of silly that the canvas API is so bad that you have put an abstraction layer on top of it... Of course - getting an API right in one go is very hard. Especially if you have no clue what people are going to use it, how and for what.</description>
		<content:encoded><![CDATA[<p>It&#8217;s kind of silly that the canvas API is so bad that you have put an abstraction layer on top of it&#8230; Of course &#8211; getting an API right in one go is very hard. Especially if you have no clue what people are going to use it, how and for what.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sixtyseconds</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284831</link>
		<dc:creator>sixtyseconds</dc:creator>
		<pubDate>Thu, 29 Jul 2010 07:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284831</guid>
		<description>@McDaid - Tried Raphael? (http://www.raphaeljs.com)</description>
		<content:encoded><![CDATA[<p>@McDaid &#8211; Tried Raphael? (<a href="http://www.raphaeljs.com" rel="nofollow">http://www.raphaeljs.com</a>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: McDaid</title>
		<link>http://ajaxian.com/archives/canto-js-an-improved-canvas-api/comment-page-1#comment-284830</link>
		<dc:creator>McDaid</dc:creator>
		<pubDate>Thu, 29 Jul 2010 06:53:16 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=9889#comment-284830</guid>
		<description>I currently using a lot of canvas on a project and it can be a bit of a pain, as it is very low level. So I would like to try out the library, but I think lack of Internet Explorer support is a real deal breaker. 

SVG probably would have been a better fit for my project, but lack of support in Internet Explorer, forced me into using explorer-canvas.js. So far I am really impressed with how well this successfully emulates a real canvas.

I do like the look of the library, the svgpath function is particularly useful.</description>
		<content:encoded><![CDATA[<p>I currently using a lot of canvas on a project and it can be a bit of a pain, as it is very low level. So I would like to try out the library, but I think lack of Internet Explorer support is a real deal breaker. </p>
<p>SVG probably would have been a better fit for my project, but lack of support in Internet Explorer, forced me into using explorer-canvas.js. So far I am really impressed with how well this successfully emulates a real canvas.</p>
<p>I do like the look of the library, the svgpath function is particularly useful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

