<?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: Javascript Beziers</title>
	<atom:link href="http://osteele.com/archives/2006/02/javascript-beziers/feed" rel="self" type="application/rss+xml" />
	<link>http://osteele.com/archives/2006/02/javascript-beziers</link>
	<description>Languages of the real and artificial.</description>
	<pubDate>Tue, 06 Jan 2009 13:15:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: learn to draw animation, without all that moving stuff</title>
		<link>http://osteele.com/archives/2006/02/javascript-beziers/comment-page-1#comment-261</link>
		<dc:creator>learn to draw animation, without all that moving stuff</dc:creator>
		<pubDate>Mon, 16 Jun 2008 01:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/02/27/javascript-beziers#comment-261</guid>
		<description>This was quite refreshing after spending a dull sunday afternoon watching nonsense on youtube. I am trying to get my programming chops up to snuff, but i am terrible</description>
		<content:encoded><![CDATA[<p>This was quite refreshing after spending a dull sunday afternoon watching nonsense on youtube. I am trying to get my programming chops up to snuff, but i am terrible</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jbj</title>
		<link>http://osteele.com/archives/2006/02/javascript-beziers/comment-page-1#comment-260</link>
		<dc:creator>jbj</dc:creator>
		<pubDate>Tue, 18 Mar 2008 13:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/02/27/javascript-beziers#comment-260</guid>
		<description>I'm really impressed with that! Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>I&#8217;m really impressed with that! Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://osteele.com/archives/2006/02/javascript-beziers/comment-page-1#comment-259</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Wed, 22 Mar 2006 01:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/02/27/javascript-beziers#comment-259</guid>
		<description>I just sped bezier.atT() up by 20%.  It's now around 35ms on my MacBook (in power saving mode), in Firefox 1.5 and Safari 2.0.1.  It was 45ms in Safari and 55ms in Firefox.

(Yahoo has an implementation to0, but it's around 150/300ms, or 110ms/460ms if you leave in the calls to parseInt.)

If you're calling bezier.atT() directly, the next optimization would be to inline that so that you can evaluated multiple points at once.  That will save one function call per point.

If you're using the path interface, you could stub out the call to bezier.atT() to see if searching for the relevant segment is appreciable.  That could use a binary search.</description>
		<content:encoded><![CDATA[<p>I just sped bezier.atT() up by 20%.  It&#8217;s now around 35ms on my MacBook (in power saving mode), in Firefox 1.5 and Safari 2.0.1.  It was 45ms in Safari and 55ms in Firefox.</p>
<p>(Yahoo has an implementation to0, but it&#8217;s around 150/300ms, or 110ms/460ms if you leave in the calls to parseInt.)</p>
<p>If you&#8217;re calling bezier.atT() directly, the next optimization would be to inline that so that you can evaluated multiple points at once.  That will save one function call per point.</p>
<p>If you&#8217;re using the path interface, you could stub out the call to bezier.atT() to see if searching for the relevant segment is appreciable.  That could use a binary search.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Jobe</title>
		<link>http://osteele.com/archives/2006/02/javascript-beziers/comment-page-1#comment-258</link>
		<dc:creator>Jason Jobe</dc:creator>
		<pubDate>Mon, 13 Mar 2006 18:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/02/27/javascript-beziers#comment-258</guid>
		<description>Wow, this is great. I did something similar with polygons (no curves). Performance, however, is an issue. I'm running a continuous animation with around 50 points.

Is this just going to be slow or is there something I can do to speed it up?

Thanks,
Jason</description>
		<content:encoded><![CDATA[<p>Wow, this is great. I did something similar with polygons (no curves). Performance, however, is an issue. I&#8217;m running a continuous animation with around 50 points.</p>
<p>Is this just going to be slow or is there something I can do to speed it up?</p>
<p>Thanks,<br />
Jason</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max Carlson</title>
		<link>http://osteele.com/archives/2006/02/javascript-beziers/comment-page-1#comment-257</link>
		<dc:creator>Max Carlson</dc:creator>
		<pubDate>Sat, 11 Mar 2006 03:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/02/27/javascript-beziers#comment-257</guid>
		<description>Drat - wordpress (quite reasonably) stripped the LZX out of my example - I'll try again:




            this.beginPath();
            this.moveTo(75,40);
            this.bezierCurveTo(75,37,70,25,50,25);
            this.bezierCurveTo(20,25,20,62.5,20,62.5);
            this.bezierCurveTo(20,80,40,102,75,120);
            this.bezierCurveTo(110,102,130,80,130,62.5);
            this.bezierCurveTo(130,62.5,130,25,100,25);
            this.bezierCurveTo(85,25,75,37,75,40);
            this.fill();



</description>
		<content:encoded><![CDATA[<p>Drat - wordpress (quite reasonably) stripped the <span class="caps">LZX</span> out of my example - I&#8217;ll try again:</p>
<p>            this.beginPath();<br />
            this.moveTo(75,40);<br />
            this.bezierCurveTo(75,37,70,25,50,25);<br />
            this.bezierCurveTo(20,25,20,62.5,20,62.5);<br />
            this.bezierCurveTo(20,80,40,102,75,120);<br />
            this.bezierCurveTo(110,102,130,80,130,62.5);<br />
            this.bezierCurveTo(130,62.5,130,25,100,25);<br />
            this.bezierCurveTo(85,25,75,37,75,40);<br />
            this.fill();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max Carlson</title>
		<link>http://osteele.com/archives/2006/02/javascript-beziers/comment-page-1#comment-256</link>
		<dc:creator>Max Carlson</dc:creator>
		<pubDate>Sat, 11 Mar 2006 03:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/02/27/javascript-beziers#comment-256</guid>
		<description>Oliver, this is fabulous stuff!  I'm integrating it into the platform now.  I borrowed a testcase from http://developer.mozilla.org/samples/canvas-tutorial/2_6_canvas_beziercurveto.html




            this.beginPath();
            this.moveTo(75,40);
            this.bezierCurveTo(75,37,70,25,50,25);
            this.bezierCurveTo(20,25,20,62.5,20,62.5);
            this.bezierCurveTo(20,80,40,102,75,120);
            this.bezierCurveTo(110,102,130,80,130,62.5);
            this.bezierCurveTo(130,62.5,130,25,100,25);
            this.bezierCurveTo(85,25,75,37,75,40);
            this.fill();




Two of the curves are drawn as lines because the intersection method thinks they're collinear.  Any idea why?  Thanks!

Regards,
Max Carlson
OpenLaszlo.org</description>
		<content:encoded><![CDATA[<p>Oliver, this is fabulous stuff!  I&#8217;m integrating it into the platform now.  I borrowed a testcase from <a href="http://developer.mozilla.org/samples/canvas-tutorial/2_6_canvas_beziercurveto.html" rel="nofollow">http://developer.mozilla.org/samples/canvas-tutorial/2_6_canvas_beziercurveto.html</a></p>
<p>            this.beginPath();<br />
            this.moveTo(75,40);<br />
            this.bezierCurveTo(75,37,70,25,50,25);<br />
            this.bezierCurveTo(20,25,20,62.5,20,62.5);<br />
            this.bezierCurveTo(20,80,40,102,75,120);<br />
            this.bezierCurveTo(110,102,130,80,130,62.5);<br />
            this.bezierCurveTo(130,62.5,130,25,100,25);<br />
            this.bezierCurveTo(85,25,75,37,75,40);<br />
            this.fill();</p>
<p>Two of the curves are drawn as lines because the intersection method thinks they&#8217;re collinear.  Any idea why?  Thanks!</p>
<p>Regards,<br />
Max Carlson<br />
OpenLaszlo.org</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Languages of the real and artificial · Visualizing Regular E</title>
		<link>http://osteele.com/archives/2006/02/javascript-beziers/comment-page-1#comment-255</link>
		<dc:creator>Languages of the real and artificial · Visualizing Regular E</dc:creator>
		<pubDate>Fri, 03 Mar 2006 01:58:51 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/02/27/javascript-beziers#comment-255</guid>
		<description>[...] Update: Some of the support libraries are now available as open source. See JSON for OpenLaszlo, JavaScript Beziers, and Canvas with Text. [...]</description>
		<content:encoded><![CDATA[<p>[...] Update: Some of the support libraries are now available as open source. See <span class="caps">JSON</span> for OpenLaszlo, JavaScript Beziers, and Canvas with Text. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
