<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ibolmo's &#187; Projects</title>
	<atom:link href="http://ibolmo.com/category/projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://ibolmo.com</link>
	<description>Food for Thought</description>
	<lastBuildDate>Sun, 12 Apr 2009 07:21:52 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MooCanvas Moved and Updated</title>
		<link>http://ibolmo.com/2009/04/12/moocanvas-moved-and-updated/</link>
		<comments>http://ibolmo.com/2009/04/12/moocanvas-moved-and-updated/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 05:04:54 +0000</pubDate>
		<dc:creator>ibolmo</dc:creator>
				<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://localhost/ibolmo.com/?p=7</guid>
		<description><![CDATA[Update your bookmarks and your download copy. <a href="http://ibolmo.com/projects/moocanvas/">MooCanvas</a> has moved domains. I'll talk a little about <a href="http://ibolmo.com/projects/moocanvas/">MooCanvas</a> and some future work that I'll work on.]]></description>
			<content:encoded><![CDATA[<h1>MooCanvas</h1>

<p>If you&#8217;re unfamiliar with <a href="http://ibolmo.com/projects/moocanvas/" title="MooCanvas, a MooTools excanvas">MooCanvas</a> then you might know <a href="http://excanvas.sourceforge.net/" title="Google's ExCanvas">excanvas</a>, Google&#8217;s canvas emulation on IE. For sake of prosperity you should know that I had ported excanvas once before (about 8 months ago). I trashed that port (too many errors), however, and immediately worked on a Test page so that I can assure myself that I&#8217;m not going to propagate bugs that I may inject in the porting process or bugs that were in excanvas.</p>

<p>As described in the <a href="http://ibolmo.com/projects/moocanvas/" title="MooCanvas, a MooTools excanvas">MooCanvas</a> site, the current <a href="http://ibolmo.com/projects/moocanvas/" title="MooCanvas, a MooTools excanvas">MooCanvas</a> is not just <a href="http://excanvas.sourceforge.net/" title="Google's ExCanvas">excanvas</a> any more. There&#8217;s a second body of work which I stumbled across which is also incorporated into the port/mix. <a href="http://research.microsoft.com/users/som/blog/canvas-test.htm">Ralph Sommerer</a> was the first person to work on the idea of using <a href="http://www.w3.org/TR/NOTE-VML" title="The Vector Markup Language">VML</a> to emulate &lt;canvas>. His contribution is better pattern and gradient support (although still limited).</p>

<h2>Emulating &lt;canvas></h2>

<p>So what is <a href="http://ibolmo.com/projects/moocanvas/" title="MooCanvas, a MooTools excanvas">MooCanvas</a>/<a href="http://excanvas.sourceforge.net/" title="Google's ExCanvas">excanvas</a> exactly doing? Simply put: it takes instructions and properties to accordingly make a new <a href="http://www.w3.org/TR/NOTE-VML" title="The Vector Markup Language">VML</a> Element which is then inserted into the DOM. Say you wanted to draw a circle on the canvas. Typically with canvas you <code>getContext('2d')</code> and with the returned interface you <code>beginPath</code> and functionally call <code>arcTo</code> from a starting point to another. After all the magic is done, you then <code>closePath</code> and <code>stroke</code> or <code>fill</code> depending on your needs. In the background, there&#8217;s a lot of things that get allocated/recorded so that MooCanvas can properly create the <a href="http://www.w3.org/TR/NOTE-VML" title="The Vector Markup Language">VML</a> Element on the fly.</p>

<h2>Updates</h2>

<p>The <a href="http://ibolmo.com/projects/moocanvas/" title="MooCanvas, a MooTools excanvas">MooCanvas</a> page has more information on the changes made since the last revision (at olmo-maldonado.com). You&#8217;ll have to update your code to reflect the new syntax change but be assured that there&#8217;s more speed improvements and readability of the source code for those souce code fanatics. Most importantly, <a href="http://ibolmo.com/projects/moocanvas/" title="MooCanvas, a MooTools excanvas">MooCanvas</a> has a few fixes in gradients that were not apparent before as well a tricky <code>lineTo</code> issue.</p>

<h1>Future Work</h1>

<p>There&#8217;s a lot of planning right now on my behalf. First order of business is to incorporate the old design into the current <a href="http://overture21.com/forum/comments.php?DiscussionID=1264&amp;page=1" title="Free Template for Symphony ported by Andrew Reeve">Hemingway</a> template that I got from <a href="http://overture21.com/" title="The Complete Resource Center for Symphony">Overture21</a> so you&#8217;ll likely see a new &#8220;projects&#8221; section with the necessary components and controllers so that the project pages are standardized for your convenience and for my productivity to increase.</p>

<h2>Release</h2>

<p>Here&#8217;s a bit of trivia: even though the MooCanvas is on the net, I am still hesitant to claim that it is <em>released</em>. Right now the version is 0.00 for the simple reason that I&#8217;m going to fix a lot of discrepancies from the <code>getContext</code> (ie. globalComposition) before I am comfortable for release.</p>

<p>I suppose we can treat this stage as alpha/beta/gamma release so that I can get contributions to the <a href="http://ibolmo.com/projects/moocanvas/demos/tests.html">Canvas Test Page</a>.</p>

<h2>Expect</h2>

<p>You can expect that the next revision would include:</p>

<ul>
<li>Bug fixes

<ul>
<li><code>ctx.scale(1,-1)</code></li>
</ul></li>
<li>More context support

<ul>
<li>globalComposition</li>
</ul></li>
</ul>

<h2>Wishlist</h2>

<p>If there&#8217;s anything in particular that you&#8217;d like leave a comment. I&#8217;ll add it to the list of things that I should work on.</p>
]]></content:encoded>
			<wfw:commentRss>http://ibolmo.com/2009/04/12/moocanvas-moved-and-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
