<?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>Degrafa &#187; repeaters</title>
	<atom:link href="http://www.degrafa.org/blog/category/repeaters/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.degrafa.org/blog</link>
	<description>Degrafa is a declarative graphics framework.</description>
	<lastBuildDate>Fri, 06 Nov 2009 05:15:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Screencast: GeometryRepeater</title>
		<link>http://www.degrafa.org/blog/2008/11/screencast-geometryrepeater/</link>
		<comments>http://www.degrafa.org/blog/2008/11/screencast-geometryrepeater/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 03:38:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[beta 3]]></category>
		<category><![CDATA[repeaters]]></category>
		<category><![CDATA[screencasts]]></category>
		<category><![CDATA[Degrafa]]></category>
		<category><![CDATA[repeater]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.degrafa.org/blog/?p=133</guid>
		<description><![CDATA[This screencast walks through a couple basic examples of using the new GeometryRepeater class introduced in Degrafa Beta 3. GeometryRepeaters are a revamped form of the Repeaters introduced in Beta 2, but much more powerful and flexible. Be sure to check it out in HD.
The GeometryRepeater class allows you to repeat any geometry you compose [...]]]></description>
			<content:encoded><![CDATA[<p>This screencast walks through a couple basic examples of using the new GeometryRepeater class introduced in Degrafa Beta 3. GeometryRepeaters are a revamped form of the Repeaters introduced in Beta 2, but much more powerful and flexible. Be sure to <a title="Degrafa Screencast" href="http://vimeo.com/2327860?pg=embed&amp;sec=2327860&amp;hd=1" target="_blank">check it out in HD</a>.</p>
<p>The GeometryRepeater class allows you to repeat any geometry you compose with Degrafa and alter properties for every time the geometry is repeated. With GeometryRepeaters you can create things like bar charts, tick marks for a gauge, artistic explorations and a lot more.</p>
<p>In future screencasts we&#8217;ll explore using GeometryRepeaters mixed with other features of Beta 3 as well as different use cases and more complex examples. You can grab the latest release of Degrafa on the <a title="Degrafa Code" href="http://www.degrafa.org/code/" target="_blank">Degrafa Code</a> page.</p>
<div style="border:solid 1px #CCCCCC; padding:10px 10px 10px 10px; display:block;margin:0 44px 10px 44px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="375" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=2327860&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="500" height="375" src="http://vimeo.com/moogaloop.swf?clip_id=2327860&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br/><br />
<a href="http://vimeo.com/2327860">Degrafa: Basic Repeaters</a> from <a href="http://vimeo.com/degrafa">Degrafa</a> on <a href="http://vimeo.com">Vimeo</a>.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.degrafa.org/blog/2008/11/screencast-geometryrepeater/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Charts Using Degrafa</title>
		<link>http://www.degrafa.org/blog/2008/09/custom-charts-using-degrafa/</link>
		<comments>http://www.degrafa.org/blog/2008/09/custom-charts-using-degrafa/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 05:04:44 +0000</pubDate>
		<dc:creator>juan</dc:creator>
				<category><![CDATA[beta 3]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[data visualization]]></category>
		<category><![CDATA[repeaters]]></category>
		<category><![CDATA[samples]]></category>
		<category><![CDATA[charts]]></category>

		<guid isPermaLink="false">http://www.degrafa.com/?p=131</guid>
		<description><![CDATA[Now that the word is out about the collaboration between Degrafa efforts and Adobe, we&#8217;ve been getting plenty of questions regarding the viability of continuing to use Degrafa. People have asked, &#8220;Well, with FXG, won&#8217;t Degrafa become obsolete?&#8221; The answer is no.
Right now we&#8217;re finally at a point where we can start moving beyond creating [...]]]></description>
			<content:encoded><![CDATA[<p>Now that the word is out about the <a title="Degrafa" href="http://www.degrafa.com/2008/08/19/degrafa-and-adobe-collaboration/" target="_blank">collaboration between Degrafa efforts and Adobe</a>, we&#8217;ve been getting plenty of questions regarding the viability of continuing to use Degrafa. People have asked, &#8220;Well, with <a title="FXG" href="http://opensource.adobe.com/wiki/display/flexsdk/FXG+1.0+Specification" target="_blank">FXG</a>, won&#8217;t Degrafa become obsolete?&#8221; The answer is no.</p>
<p>Right now we&#8217;re finally at a point where we can start moving beyond creating basic shapes, fills, etc. and moving into a realm of really powerful stuff, all of which we&#8217;re hoping will extend FXG. With inspiration coming from things like <a title="Processing" href="http://www.processing.org/" target="_blank">Processing</a>, we&#8217;re really focussing on allowing people to do some typically difficult things very easy.</p>
<p>We&#8217;ve discussed how you might use <a title="Degrafa" href="http://www.degrafa.com/2008/03/29/degrafa-data-visualization/">Degrafa for various types of data visualization</a>, but with things we&#8217;re implementing in Beta 3 you&#8217;ll be able to completely change the way you think about charting in Flex. Some people are already taking advantage of the in progress version of Beta 3 to do some really great stuff.</p>
<p><a title="Merhl" href="http://www.merhl.com/" target="_blank">Joe Johnston</a> of <a title="Universal Mind" href="http://www.universalmind.com" target="_blank">Universal Mind</a> created a <a title="Nike+ Chart Degrafa" href="http://merhl.com/?p=138" target="_blank">slick looking chart</a> that mirrors the look you might find on the <a title="Nike+" href="http://nikeplus.nike.com/nikeplus/" target="_blank">Nike+ site</a>. Doesn&#8217;t look like a typical Flex Charting component does it?</p>
<p><a title="Nike+ Chart Degrafa" href="http://merhl.com/?p=138" target="_blank"><img class="aligncenter" title="Degrafa Nike+" src="http://www.degrafa.com/share/images/charts/nikeplus.jpg" alt="" width="400" height="235" /></a></p>
<p>If you were at <a title="360|Flex" href="http://www.360conferences.com/360flex/" target="_blank">360|Flex</a> you may have seen <a title="Tom Gonzalez" href="http://form-function.blogspot.com/" target="_blank">Tom Gonzalez</a> present some of his latest works that use Degrafa. He&#8217;s contributed a lot to opening up new possibilities for Degrafa in the data visualization arena. Below is his <a title="Tom Gonzalez" href="http://form-function.blogspot.com/2008/08/360-flex-data-visualization-code.html" target="_blank">Google Finance &#8220;dashboard&#8221;</a> that uses Degrafa for charting, complete with &#8220;micro-charts&#8221; created using the newly revamped Geometry Repeaters.</p>
<p><a title="Tom Gonzalez" href="http://form-function.blogspot.com/2008/08/360-flex-data-visualization-code.html" target="_blank"><img class="aligncenter" title="Google Finance Degrafa" src="http://www.degrafa.com/share/images/charts/googlefinance.png" alt="" width="400" height="304" /></a></p>
<p><a title="Tom Gonzalez" href="http://form-function.blogspot.com/2008/08/360-flex-data-visualization-code.html" target="_blank"><img class="aligncenter" title="Degrafa Micro Charts" src="http://www.degrafa.com/share/images/charts/microcharts.png" alt="" width="300" height="256" /></a></p>
<p><a title="Ryan Campbel" href="http://www.bobjim.com/" target="_blank">Ryan Campbell</a> has also taken a liking to the new Geometry Repeaters and what is possible just using Property Modifiers with them. He combined Degrafa and <a title="OpenFlux" href="http://code.google.com/p/openflux/" target="_blank">OpenFlux</a> to create what he&#8217;s calling <a title="FluxCharts" href="http://www.bobjim.com/2008/09/17/openflux-degrafa-fluxcharts/" target="_blank">FluxCharts</a>. Definitely cool.</p>
<p><a title="FluxCharts" href="http://www.bobjim.com/2008/09/17/openflux-degrafa-fluxcharts/" target="_blank"><img class="aligncenter" title="FluxChart" src="http://www.degrafa.com/share/images/charts/fluxchart.jpg" alt="" width="400" height="262" /></a></p>
<p>It&#8217;s really great to see people start jumping into the next release of Degrafa when it&#8217;s still a work in progress. Even better, all these samples have source available.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.degrafa.org/blog/2008/09/custom-charts-using-degrafa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Degrafa Beta 3 Preview: Revamped Repeaters</title>
		<link>http://www.degrafa.org/blog/2008/06/degrafa-beta-3-preview-revamped-repeaters/</link>
		<comments>http://www.degrafa.org/blog/2008/06/degrafa-beta-3-preview-revamped-repeaters/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 01:03:58 +0000</pubDate>
		<dc:creator>juan</dc:creator>
				<category><![CDATA[repeaters]]></category>

		<guid isPermaLink="false">http://www.degrafa.com/2008/06/16/degrafa-beta-3-preview-revamped-repeaters/</guid>
		<description><![CDATA[
If you follow Degrafa on Twitter you may recall a mention of Degrafa Beta 3 potentially being  the biggest release ever. Our initial focus was the core, but now we get to implement the fun stuff that will make people think differently about what&#8217;s easily possible with graphics in Flex. As we get closer [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.degrafa.com/images/repeater-beta3.jpg" alt="Degrafa Beta 3 Repeaters" /><br/><br />
If you follow <a href="http://twitter.com/degrafa" target="_blank">Degrafa on Twitter</a> you may recall a mention of Degrafa Beta 3 potentially being  the biggest release ever. Our initial focus was the core, but now we get to implement the fun stuff that will make people think differently about what&#8217;s easily possible with graphics in Flex. As we get closer to the Degrafa Beta 3 release we will be posting previews of some of these features. The first we&#8217;d like to discuss is Repeaters.</p>
<p>If you&#8217;re familiar with Degrafa Repeaters you know that the way they are now they aren&#8217;t entirely flexible and only provided solutions for a small number of use cases. That is totally changing in Degrafa Beta 3. We&#8217;ve revamped Repeaters to be very powerful and flexible, so in a minimal amount of code you can create repeating geometry for any number of scenarios.</p>
<p>In the current version of Degrafa you have geometry-specific repeaters, like CircleRepeater, LineRepeater, etc. You can also only manipulate repeated geometry in a small number of ways. In Degrafa Beta 3 you can repeat ANY geometry, change each individual item in a number of ways, hook the repeater to a data provider and so much more.</p>
<p><a href="http://form-function.blogspot.com/" target="_blank">Tom Gonzalez</a>, a Degrafa Team member, took the time to put together a quick sample and a nice blog post about the revamped Repeaters. His post illustrates just the tip of the iceberg of what is possible. He&#8217;s already shown me some of the stuff he&#8217;s been working on behind closed doors and it just blows me away. The best part is it takes such minimal code to do some awesome stuff. The image above is from his post and if you&#8217;re interested in learning more about the revamped Repeaters in Degrafa Beta 3 be sure to <a href="http://form-function.blogspot.com/2008/06/new-degrafa-repeaters.html" target="_blank">check out his post</a> and follow <a href="http://form-function.blogspot.com/" target="_blank">his blog</a>. Tom has some more great stuff to show off.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.degrafa.org/blog/2008/06/degrafa-beta-3-preview-revamped-repeaters/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Introducing Repeater Objects in Degrafa</title>
		<link>http://www.degrafa.org/blog/2007/07/introducing-repeater-objects-in-degrafa/</link>
		<comments>http://www.degrafa.org/blog/2007/07/introducing-repeater-objects-in-degrafa/#comments</comments>
		<pubDate>Mon, 16 Jul 2007 20:44:52 +0000</pubDate>
		<dc:creator>juan</dc:creator>
				<category><![CDATA[beta 1]]></category>
		<category><![CDATA[geometry]]></category>
		<category><![CDATA[repeaters]]></category>
		<category><![CDATA[samples]]></category>

		<guid isPermaLink="false">http://www.degrafa.com/2007/07/16/introducing-repeater-objects-in-degrafa/</guid>
		<description><![CDATA[A couple of the principle goals for Degrafa is reusability, and minimizing the code required to draw visuals. There are a lot of different ways to achieve this in Degrafa, but here&#8217;s one that&#8217;s particularly fun and interesting. In a former post we mentioned a Repeater as a means to reuse an object in a [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of the principle goals for Degrafa is reusability, and minimizing the code required to draw visuals. There are a lot of different ways to achieve this in Degrafa, but here&#8217;s one that&#8217;s particularly fun and interesting. In a <a href="http://www.degrafa.com/2007/07/06/closing-the-designerdeveloper-gap-with-degrafa/">former post </a>we mentioned a Repeater as a means to reuse an object in a structured manner. Let&#8217;s take a look at the Repeater in closer detail.</p>
<h4>The Repeater</h4>
<p>Working with Degrafa, each geometry object can have a Repeater associated with it. The Repeater allows you to repeat the geometry using offsets you specify. These offsets are incremented progressively for the repeat count. It draws into the parent geometry objects graphics surface so the ensemble is considered one object.</p>
<h4>Using a Repeater</h4>
<p>Letâ€™s start by specifying a stroke with an id of OrangeStroke.</p>
<pre>
<code>
<strokes>
    <mx:Stroke id="OrangeStroke" color="#EE9819" />
</strokes>
</code>
</pre>
<p>Next, a simple line is defined with the Stroke bound to the above Stroke Object.</p>
<pre>
<code>
<geometry:Line Stroke="{OrangeStroke}"
    x="10" y="10" x1="0" y1="100"/>
</code>
</pre>
<p>To repeat this Line object lets add a Repeater. After doing so, our Line object will look like this:</p>
<pre>
<code>
<geometry:Line Stroke="{OrangeStroke}"
    x="10" y="10" x1="0" y1="100">
    <geometry:repeater>
        <repeaters:LineRepeater count="11" moveOffsetX="10"
            moveOffsetY="0" offsetX="10" offsetY="0"/>
    </geometry:repeater>
</geometry:Line>
</code>
</pre>
<p>The above Line object will be drawn 11 times with the offsets we specified.<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_repeaterVertLines_1880747802"
			class="flashmovie"
			width="436"
			height="160">
	<param name="movie" value="http://www.degrafa.com/wp-content/source/swf/repeaterVertLines.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.degrafa.com/wp-content/source/swf/repeaterVertLines.swf"
			name="fm_repeaterVertLines_1880747802"
			width="436"
			height="160">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br />
So now we have 11 vertical lines. We can easily turn this into a grid by defining another Line geometry object similar to the one above but on the horizontal axis.</p>
<p>Here is the second Line object that draws 11 lines on the horizontal axis.</p>
<pre>
<code>
<geometry:Line Stroke="{OrangeStroke}" x="10" y="10"
    x1="100" y1="0">
    <geometry:repeater>
        <repeaters:LineRepeater count="11" moveOffsetX="0"
            moveOffsetY="10" offsetX="0" offsetY="10"/>
    </geometry:repeater>
</geometry:Line>
</code>
</pre>
<p>A perfect reusable grid in just a few lines of MXML mark-up. No action script required, no math, no loops, no need to define any classes, and itâ€™s readable to anyone.<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_repeaterGrid_1421899218"
			class="flashmovie"
			width="436"
			height="160">
	<param name="movie" value="http://www.degrafa.com/wp-content/source/swf/repeaterGrid.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.degrafa.com/wp-content/source/swf/repeaterGrid.swf"
			name="fm_repeaterGrid_1421899218"
			width="436"
			height="160">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br/></p>
<h4>More Samples</h4>
<p>With the Repeater you can do some pretty interesting things. Here&#8217;s some quick examples made with Circles and Arcs:<br/><br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_repeaterSamples_496108218"
			class="flashmovie"
			width="436"
			height="180">
	<param name="movie" value="http://www.degrafa.com/wp-content/source/swf/repeaterSamples.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.degrafa.com/wp-content/source/swf/repeaterSamples.swf"
			name="fm_repeaterSamples_496108218"
			width="436"
			height="180">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br />
Among other things that will be added to the Repeater are variations of objects that are repeated. For example, repeating lines that are different colors, heights, widths, random, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.degrafa.org/blog/2007/07/introducing-repeater-objects-in-degrafa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

