<?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"
	>
<channel>
	<title>Comments on: An alternate way to implement marching ants</title>
	<atom:link href="http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/</link>
	<description>try the veal</description>
	<pubDate>Mon, 08 Sep 2008 06:44:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Ahruman</title>
		<link>http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/#comment-24369</link>
		<dc:creator>Ahruman</dc:creator>
		<pubDate>Tue, 02 Oct 2007 21:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/#comment-24369</guid>
		<description>(rambling through the archives)

Ahh, I remember the good old days. The 45° striped pattern, some QuickDraw region twiddling, and XOR drawing. No need to redraw the whole window, you just XORed the old pattern, advanced the pattern (eight shifts) and XORed in the new pattern.</description>
		<content:encoded><![CDATA[<p>(rambling through the archives)</p>
<p>Ahh, I remember the good old days. The 45° striped pattern, some QuickDraw region twiddling, and XOR drawing. No need to redraw the whole window, you just XORed the old pattern, advanced the pattern (eight shifts) and XORed in the new pattern.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/#comment-23209</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 30 Aug 2007 18:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/#comment-23209</guid>
		<description>&lt;blockquote&gt;I wonder if it would still look good or if there is a need to fit Bezier curves to the 1-pixel line segment data.&lt;/blockquote&gt;

I think you would have to fit it to bezier curves in order for it to look good scaled up. The 1-pixel line segments would definitely alias if you scaled them up. Unfortunately, once you fit them to curves, you won't have a per-pixel accurate representation of the selection,  because the curves won't fit perfectly.</description>
		<content:encoded><![CDATA[<blockquote><p>I wonder if it would still look good or if there is a need to fit Bezier curves to the 1-pixel line segment data.</p></blockquote>
<p>I think you would have to fit it to bezier curves in order for it to look good scaled up. The 1-pixel line segments would definitely alias if you scaled them up. Unfortunately, once you fit them to curves, you won&#8217;t have a per-pixel accurate representation of the selection,  because the curves won&#8217;t fit perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cparnot</title>
		<link>http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/#comment-23198</link>
		<dc:creator>cparnot</dc:creator>
		<pubDate>Thu, 30 Aug 2007 14:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/#comment-23198</guid>
		<description>How about:

* a chessboard pattern (ok, somebody beat me on that in the comments)
* applying a rotation to it at each step  of the marching ants,  using an appropriate center</description>
		<content:encoded><![CDATA[<p>How about:</p>
<p>* a chessboard pattern (ok, somebody beat me on that in the comments)<br />
* applying a rotation to it at each step  of the marching ants,  using an appropriate center</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/#comment-23193</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Thu, 30 Aug 2007 11:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/#comment-23193</guid>
		<description>Have you tried using the NSBezierPath technique to create vector versions of the object selected by the Magic Wand?

For example, if you clicked on the blue circle, would the resulting NSBezierPath still look good if it were scaled to be much larger?

I wonder if it would still look good or if there is a need to fit Bezier curves to the 1-pixel line segment data.

Thanks for the awesome articles. I am learning a lot!</description>
		<content:encoded><![CDATA[<p>Have you tried using the NSBezierPath technique to create vector versions of the object selected by the Magic Wand?</p>
<p>For example, if you clicked on the blue circle, would the resulting NSBezierPath still look good if it were scaled to be much larger?</p>
<p>I wonder if it would still look good or if there is a need to fit Bezier curves to the 1-pixel line segment data.</p>
<p>Thanks for the awesome articles. I am learning a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Kochanski</title>
		<link>http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/#comment-23189</link>
		<dc:creator>Martin Kochanski</dc:creator>
		<pubDate>Thu, 30 Aug 2007 09:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/#comment-23189</guid>
		<description>You still get hammered by 45-degree lines in the mask. They won't march, they'll flash.

I've found that a chessboard pattern (each of the squares 4x4 pixels) works better than stripes.</description>
		<content:encoded><![CDATA[<p>You still get hammered by 45-degree lines in the mask. They won&#8217;t march, they&#8217;ll flash.</p>
<p>I&#8217;ve found that a chessboard pattern (each of the squares 4&#215;4 pixels) works better than stripes.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.436 seconds -->
