<?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>Richard Lord &#187; Flint</title>
	<atom:link href="http://www.richardlord.net/blog/tag/flint/feed" rel="self" type="application/rss+xml" />
	<link>http://www.richardlord.net</link>
	<description>Actionscript/Flex, PHP and Java developer</description>
	<lastBuildDate>Mon, 23 Jan 2012 17:07:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Flint Particles 4.0.0 released</title>
		<link>http://www.richardlord.net/blog/flint-particles-4-0-0-released</link>
		<comments>http://www.richardlord.net/blog/flint-particles-4-0-0-released#comments</comments>
		<pubDate>Tue, 18 Oct 2011 06:21:59 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Flint]]></category>
		<category><![CDATA[Particles]]></category>

		<guid isPermaLink="false">http://www.richardlord.net/?p=860</guid>
		<description><![CDATA[<p>Last week I released version 4.0.0 of <a href="http://flintparticles.org/">Flint Particles</a>. This version adds support for the latest versions of <a href="http://away3d.com/">Away3d</a>, <a href="http://www.flare3d.com/">Flare3d</a> and <a href="http://alternativaplatform.com/">Alternativa3d</a>. Specifically, the supported versions of these three libraries themselves support the new Stage3D in Flash 11. This is the first step in Flint supporting Stage3D. We hope to add further support later, through 2d libraries like <a href="http://www.starling-framework.org/">Starling</a> and <a href="https://github.com/nulldesign/nd2d">ND2D</a>, and possibly using Stage3D within Flint's own renderers.</p>

<p><a href="http://flintparticles.org/blog/version-4-0-0-released">The release notes</a> for this version are on <a href="http://flintparticles.org/blog/version-4-0-0-released">the Flint Particles website</a>, along with information where to <a href="http://flintparticles.org/source-code">download the new version</a>...</p>]]></description>
			<content:encoded><![CDATA[<p>Last week I released version 4.0.0 of <a href="http://flintparticles.org/">Flint Particles</a>. This version adds support for the latest versions of <a href="http://away3d.com/">Away3d</a>, <a href="http://www.flare3d.com/">Flare3d</a> and <a href="http://alternativaplatform.com/">Alternativa3d</a>. Specifically, the supported versions of these three libraries themselves support the new Stage3D in Flash 11. This is the first step in Flint supporting Stage3D. We hope to add further support later, through 2d libraries like <a href="http://www.starling-framework.org/">Starling</a> and <a href="https://github.com/nulldesign/nd2d">ND2D</a>, and possibly using Stage3D within Flint&#8217;s own renderers.</p>

<p><a href="http://flintparticles.org/blog/version-4-0-0-released">The release notes</a> for this version are on <a href="http://flintparticles.org/blog/version-4-0-0-released">the Flint Particles website</a>, along with information where to <a href="http://flintparticles.org/source-code">download the new version</a>. Here&#8217;s a little demo using Away3d 4 and Stage3D.</p>

<div class="spaced"><div id="swf4f2e8df3a772e">
<p><b>Flash required:</b> You need version 10 or later of the free Flash player from Adobe to use this content. To download and install the free player from Adobe's web site <a href="http://get.adobe.com/flashplayer/">click here</a>.</p>
</div>
<script type="text/javascript">
var params = {loop:"false",quality:"high",allowfullscreen:"true",wmode:"direct"};
var flashvars = {};
swfobject.embedSWF("http://flintparticles.org/source/examples3D/Planets/Away3d4/Planets.swf", "swf4f2e8df3a772e", "500", "500", "11.0.0", "/swf/expressInstall.swf", flashvars, params, {} );
</script></div>

<p><a href="http://flintparticles.org/examples/planets">View source code</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.richardlord.net/blog/flint-particles-4-0-0-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first Playbook app</title>
		<link>http://www.richardlord.net/blog/my-first-playbook-app</link>
		<comments>http://www.richardlord.net/blog/my-first-playbook-app#comments</comments>
		<pubDate>Wed, 11 May 2011 17:59:37 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Flint]]></category>
		<category><![CDATA[Particle Soup]]></category>
		<category><![CDATA[Particles]]></category>
		<category><![CDATA[Playbook]]></category>

		<guid isPermaLink="false">http://www.richardlord.net/?p=826</guid>
		<description><![CDATA[Like many Flash developers, I jumped at the chance to create an app for the Blackberry Playbook. With the Playbook we have a platform where Flash is a first class citizen. Indeed, for some time Flash (more specifically, Air 2.5) was the only development platform available for the Playbook. On top of that, Research in [...]]]></description>
			<content:encoded><![CDATA[<p>Like many Flash developers, I jumped at the chance to create an app for the <a href="http://us.blackberry.com/developers/tablet/">Blackberry Playbook</a>. With the Playbook we have a platform where Flash is a first class citizen. Indeed, for some time Flash (more specifically, Air 2.5) was the only development platform available for the Playbook.</p>

<p>On top of that, Research in Motion offered free Playbooks to any developer who had an app accepted into the App World store before the launch of the device &#8211; who could resist. So I built an app.</p>

<p>I was in the fortunate position of having a lot of existing code I could use, and I decided to create a particle effects toy using <a href="http://flintparticles.org/">Flint</a>. The result is <a href="/particle-soup">Particle Soup</a>. It&#8217;s small, self contained and a great showcase for Flint. I hope you <a href="/particle-soup">enjoy the results</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.richardlord.net/blog/my-first-playbook-app/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Introducing Coral, an Actionscript library for 3D Math</title>
		<link>http://www.richardlord.net/blog/introducing-coral-an-actionscript-library-for-3d-math</link>
		<comments>http://www.richardlord.net/blog/introducing-coral-an-actionscript-library-for-3d-math#comments</comments>
		<pubDate>Thu, 24 Feb 2011 18:28:07 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Coral]]></category>
		<category><![CDATA[Flint]]></category>

		<guid isPermaLink="false">http://www.richardlord.net/?p=768</guid>
		<description><![CDATA[The experience of Flint I started work on Flint Particles before Flash 10 was launched, so back then I created my own 3D mathematics classes for Flint. At the time this was not unusual &#8211; Away3D and Papervision3D had their own Number3D and Matrix3D classes, for example. Since the release of Flash 10, open-source projects [...]]]></description>
			<content:encoded><![CDATA[<h2>The experience of Flint</h2>

<p>I started work on <a href="http://flintparticles.org/">Flint Particles</a> before Flash 10 was launched, so back then I created my own 3D mathematics classes for Flint. At the time this was not unusual &#8211; <a href="http://away3d.com/">Away3D</a> and <a href="http://blog.papervision3d.org/">Papervision3D</a> had their own Number3D and Matrix3D classes, for example.</p>

<p>Since the release of Flash 10, open-source projects have gradually switched to use the native <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/geom/Vector3D.html">Vector3D</a> and <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/geom/Matrix3D.html">Matrix3D</a> classes found in the flash.geom package and recently I decided it was time for Flint to also make this change, hence the release of Flint 3.0 a few weeks ago which uses those native 3D math classes.</p>

<p>Converting Flint to use the native classes was an interesting experience. For one thing, I think the architecture of Flint&#8217;s classes was better than the native classes. That wasn&#8217;t sufficient reason to stick with Flint&#8217;s own classes; using it&#8217;s own 3D math classes was a barrier to entry for users who were familiar with the native classes and resulted in many questions from confused new users. (For much the same reason, I don&#8217;t use the excellent <a href="https://github.com/robertpenner/as3-signals">As3-Signals</a> library by Robert Penner in Flint, even though I use it in all my other work.)</p>

<p>So I set about converting Flint to use the native 3D classes. The initial conversion was mostly straightforward, only complicated by a lack of functionality in the native classes that sometimes meant <a href="https://twitter.com/richard_lord/status/2269097639288832">one line of code using Flint&#8217;s classes had to be replaced with 3 or 4 lines of code using the native classes</a>.</p>

<p>Having made the change, however, I was surprised to find two significant issues with the new code. The first was a couple of bugs in the native classes, which were not too serious since I could find a way to work around them. The second, and far more troubling issue, was a very large drop in performance &#8211; the code using the native 3D classes ran at about one quarter of the rate of the code using Flint&#8217;s own 3D classes.</p>

<p>I was eventually able to fix the performance loss, mostly by inlining some critical and slow methods including, for example, the code to transform every particle&#8217;s position from global coordinate space to camera coordinate space, where instead of a simple</p>

<pre class="code">pp = camera.transform.transformVector( p );</pre>

<p>Flint now does</p>

<pre class="code">var raw:Vector.<Number> = camera.transform.rawData;
pp.x = raw[0] * p.x + raw[4] * p.y + raw[8] * p.z + raw[12] * p.w;
pp.y = raw[1] * p.x + raw[5] * p.y + raw[9] * p.z + raw[13] * p.w;
pp.z = raw[2] * p.x + raw[6] * p.y + raw[10] * p.z + raw[14] * p.w;
pp.w = raw[3] * p.x + raw[7] * p.y + raw[11] * p.z + raw[15] * p.w;</pre>

<p>for a massive performance improvement.</p>

<h2>Coral</h2>

<p>In light of the issues I encountered I have decided to release the 3D math classes that were formerly part of Flint as a separate open source project. I continue to use these classes in my own work (with the exception of Flint) and others may want to do so too.</p>

<p>I am calling the project &#8220;Coral&#8221; &#8211; apparently small pieces of coral are sometimes found inside larger pieces of flint. <a href="https://github.com/richardlord/Coral">Coral is available on Github</a>, including unit tests and performance tests. Please feel free to use it, fork it and improve it.</p>

<p>Since releasing Flint 3.0, I modified the unit tests and performance tests in Coral to also apply to the native 3D math classes, Vector3D and Matrix3D. This was out of curiosity mainly, but it revealed a number of bugs in the native classes and where the major performance weaknesses in these classes are.</p>

<p>In the following posts I&#8217;ll look at the results of these tests, with posts <a href="/blog/bugs-in-vector3d-and-matrix3d">about the bugs I found</a> and <a href="/blog/performance-of-coral-vs-vector3d-and-matrix3d">a performance comparison of Coral and the native classes</a>. But first, if you&#8217;ll indulge me, here&#8217;s a post <a href="/blog/architecture-of-coral-vs-vector3d-and-matrix3d">comparing the architecture of Coral and the architecture of Flash&#8217;s native 3D classes</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.richardlord.net/blog/introducing-coral-an-actionscript-library-for-3d-math/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>One conference, two presentations</title>
		<link>http://www.richardlord.net/blog/one-conference-two-presentations</link>
		<comments>http://www.richardlord.net/blog/one-conference-two-presentations#comments</comments>
		<pubDate>Fri, 10 Sep 2010 19:30:03 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[360Flex]]></category>
		<category><![CDATA[Flint]]></category>
		<category><![CDATA[Particles]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Smart Components]]></category>

		<guid isPermaLink="false">http://www.richardlord.net/?p=721</guid>
		<description><![CDATA[<p><a href="http://www.360flex.com/">360&#124;Flex DC</a> starts in just 9 days and I'm not quite ready yet, but I will be. A few months ago, I suggested two presentations to John and Nicole who organise the event, hoping one would be up to scratch. Their reply was "Awesome submissions!" followed by "We're happy to tell you, your submissions were accepted. You ok doing 2?" Yes, I'm ok doing 2, but it requires twice the 
preparation which is why I'm not quite ready yet. But I will be...</p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.360flex.com/">360|Flex DC</a> starts in just 9 days and I&#8217;m not quite ready yet, but I will be. A few months ago, I suggested two presentations to John and Nicole who organise the event, hoping one would be up to scratch. Their reply was &#8220;Awesome submissions!&#8221; followed by &#8220;We&#8217;re happy to tell you, your submissions were accepted. You ok doing 2?&#8221; Yes, I&#8217;m ok doing 2, but it requires twice the 
preparation which is why I&#8217;m not quite ready yet. But I will be.</p>

<h3>Re-architecting the designer-developer workflow</h3>

<p>My first session is an update to my session on <a href="/blog/my-360flex-presentation">Smart Components</a> from <a href="/blog/360flex-san-jose">360|Flex San Jose</a>. I&#8217;ll be talking about where my idea of smart components came from, how the architecture has developed and evolved, and how it enables us at <a href="http://www.brighttalk.com/">BrightTALK</a> to decouple the developers from the client project development cycle, completely changing the relationship between designers 
and developers.</p>

<p>Of course, there will be code and examples, and I&#8217;ll also show how to use <a href="http://www.robotlegs.org/">Robotlegs</a> or <a href="http://swizframework.org/">Swiz</a> as the basis for your smart 
components architecture.</p>

<h3>Open source is for life, not just for Christmas</h3>

<p>This presentation is about my experiences developing and managing the <a href="http://flintparticles.org/">Flint Particles</a> open source project. After small contributions to other open source projects, Flint was my first venture into developing and managing an open source project  myself. I&#8217;ve been managing the project for nearly 3 years now and I&#8217;ve learnt a lot along the way, about programming, marketing and open source, and also about people, their motivations and their failings, myself included.</p>

<p>I&#8217;ll discuss why I started the project, the highs and lows during the past three years, what my expectations were and how the results far exceeded those expectations. I&#8217;ll talk about the people I met, and the 
lessons I learnt. I&#8217;ll also tell you my seven steps for getting an open-source project off the ground, and I&#8217;ll tell you the one thing you must never, ever, ever do if you manage an open-source project. Unless, of course, you want that project to die.</p>

<p>This session is quite a departure or me. Previous sessions I&#8217;ve presented have been focused on code, but this one is about experiences. There&#8217;s no code to hide behind. The contents are stories and anecdotes, some of them painfully honest, others painfully funny. Hopefully the audience will laugh in the right places.</p>

<h3>DC here we come</h3>

<p>I&#8217;m really looking forward to this 360|Flex. There&#8217;s so much going on.</p>

<ul>
<li><a href="http://www.360flex.com/speakers/">An amazing bunch of speakers</a> with <a href="http://360flex.com/downloads/sessions.pdf">over 40 presentations on a diverse range of topics.</a></li>
<li><a href="http://360flex.com/downloads/sessions.pdf">Workshops on Flex 4, Air for Android, Robotlegs, Push-button engine, Litl and more.</a></li>
<li>Lots of great developers to chat to, including many of <a href="http://www.360flex.com/blog/2010/08/360flex-meet-the-flext-team-in-dc/">the Adobe Flex team</a>.</li>
<li>Great evening events, like the <a href="http://www.360flex.com/blog/2010/08/360flex-an-awesome-night-of-nerd-made-music-360flexapalooza/">360Flexapalooza</a>.</li>
<li><a href="http://www.360flex.com/blog/2010/08/360flex-the-game-jam-is-on/">The charity code jam &#8211; what a great idea.</a></li>
</ul>

<p>If you&#8217;re a developer and you can get to DC, <a href="http://www.360flex.com/register/">come and join us</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.richardlord.net/blog/one-conference-two-presentations/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flint Particles 2.2.0 released</title>
		<link>http://www.richardlord.net/blog/flint-particles-2-2-0-released</link>
		<comments>http://www.richardlord.net/blog/flint-particles-2-2-0-released#comments</comments>
		<pubDate>Thu, 26 Aug 2010 17:28:31 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Flint]]></category>
		<category><![CDATA[Particles]]></category>

		<guid isPermaLink="false">http://www.richardlord.net/?p=706</guid>
		<description><![CDATA[<p>Yesterday I released version 2.2.0 of <a href="http://flintparticles.org">Flint Particles</a>. This version includes a new feature enabling collisions between particles and zones. Since zones can represent any shape, that means particles can collide with other objects provided a zone is defined to match (or approvimately match) the shape of the object.</p>

<p>Here's a simple example of these collisions in action</p>

<p><a href="http://flintparticles.org/examples/pachinko">View the source</a></p>

<p>Full details of what is new in this version are <a href="http://flintparticles.org/blog/version-2-2-0-released">on the Flint website</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I released version 2.2.0 of <a href="http://flintparticles.org">Flint Particles</a>. This version includes a new feature enabling collisions between particles and zones. Since zones can represent any shape, that means particles can collide with other objects provided a zone is defined to match (or approvimately match) the shape of the object.</p>

<p>Here&#8217;s a simple example of these collisions in action</p>

<div class="spaced"><div id="swf4f2e8df3b11b1">
<p><b>Flash required:</b> You need version 10 or later of the free Flash player from Adobe to use this content. To download and install the free player from Adobe's web site <a href="http://get.adobe.com/flashplayer/">click here</a>.</p>
</div>
<script type="text/javascript">
var params = {loop:"false",quality:"high",allowfullscreen:"true"};
var flashvars = {};
swfobject.embedSWF("http://flintparticles.org/source/examples2D/Pachinko/PureAS3/Pachinko.swf", "swf4f2e8df3b11b1", "480", "425", "10.0.0", "/swf/expressInstall.swf", flashvars, params, {} );
</script></div>

<p><a href="http://flintparticles.org/examples/pachinko">View the source</a></p>

<p>Full details of what is new in this version are <a href="http://flintparticles.org/blog/version-2-2-0-released">on the Flint website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.richardlord.net/blog/flint-particles-2-2-0-released/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flint Particles 2.1.3 released</title>
		<link>http://www.richardlord.net/blog/flint-particles-213-released</link>
		<comments>http://www.richardlord.net/blog/flint-particles-213-released#comments</comments>
		<pubDate>Mon, 16 Nov 2009 09:18:34 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Flint]]></category>
		<category><![CDATA[Particles]]></category>

		<guid isPermaLink="false">http://www.bigroom.co.uk/blog/flint-particles-213-released</guid>
		<description><![CDATA[<p>Last week, I released version 2.1.3 of <a href="http://flintparticles.org/">Flint Particles</a>. This release includes a new action called TweenToZone. This enables the tweening of particles to random points within a zone, which makes effects like this possible...</p>

<p>Full details of what's new in this version are <a href="http://flintparticles.org/blog/version-213-released">on the Flint website</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Last week, I released version 2.1.3 of <a href="http://flintparticles.org/">Flint Particles</a>. This release includes a new action called TweenToZone. This enables the tweening of particles to random points within a zone, which makes effects like this possible</p>

<div class="spaced"><div id="swf4f2e8df3b234c">
<p><b>Flash required:</b> You need version 10 or later of the free Flash player from Adobe to use this content. To download and install the free player from Adobe's web site <a href="http://get.adobe.com/flashplayer/">click here</a>.</p>
</div>
<script type="text/javascript">
var params = {loop:"false",quality:"high",allowfullscreen:"true"};
var flashvars = {};
swfobject.embedSWF("/images/blog/LogoTween.swf", "swf4f2e8df3b234c", "400", "100", "10.0.0", "/swf/expressInstall.swf", flashvars, params, {} );
</script></div>

<p><a href="http://flintparticles.org/examples/logotween">View the source.</a></p>

<p>Full details of what&#8217;s new in this version are <a href="http://flintparticles.org/blog/version-213-released">on the Flint website</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.richardlord.net/blog/flint-particles-213-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New line renderers in Flint</title>
		<link>http://www.richardlord.net/blog/new-line-renderers-in-flint</link>
		<comments>http://www.richardlord.net/blog/new-line-renderers-in-flint#comments</comments>
		<pubDate>Tue, 01 Sep 2009 14:10:13 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Flint]]></category>
		<category><![CDATA[Particles]]></category>

		<guid isPermaLink="false">http://www.bigroom.co.uk/blog/new-line-renderers-in-flint</guid>
		<description><![CDATA[<p>I released version 2.1.2 of <a href="http://flintparticles.org/">Flint</a> today. This version features a number of small changes and two new renderers. The new renderers draw particles as lines rather than discrete images. Each particle is rendered by drawing a line from its previous location to its current location, which enables the creation of effects like hair and grass. You can read about all the changes <a href="http://flintparticles.org/blog/version-212-released">on the Flint website</a>.</p>

<p>Also on the site and in the downloads is a new example using the new renderers to create grass.</p>

<p><a href="http://flintparticles.org/examples/grass">View the source.</a></p>

<p>The grass will look different every time. I have deliberately made this draw slowly so the effect can be seen. It could be rendered much more rapidly by adjusting the parameters. The grass could also be draw instantaneously as a static image by using the <a href="http://flintparticles.org/docs/org/flintparticles/common/emitters/Emitter.html#runAhead()">runAhead</a> method of the emitter to jump straight to the end state of the system.</p>

<p><a href="http://flintparticles.org/">Have fun with the new version.</a></p>]]></description>
			<content:encoded><![CDATA[<p>I released version 2.1.2 of <a href="http://flintparticles.org/">Flint</a> today. This version features a number of small changes and two new renderers. The new renderers draw particles as lines rather than discrete images. Each particle is rendered by drawing a line from its previous location to its current location, which enables the creation of effects like hair and grass. You can read about all the changes <a href="http://flintparticles.org/blog/version-212-released">on the Flint website</a>.</p>

<p>Also on the site and in the downloads is a new example using the new renderers to create grass. The result looks like this.</p>

<div class="spaced"><div id="swf4f2e8df3b37a9">
<p><b>Flash required:</b> You need version 10 or later of the free Flash player from Adobe to use this content. To download and install the free player from Adobe's web site <a href="http://get.adobe.com/flashplayer/">click here</a>.</p>
</div>
<script type="text/javascript">
var params = {loop:"false",quality:"high",allowfullscreen:"true",bgcolor:"#FFFFFF"};
var flashvars = {};
swfobject.embedSWF("/images/blog/Grass.swf", "swf4f2e8df3b37a9", "500", "500", "10.0.0", "/swf/expressInstall.swf", flashvars, params, {} );
</script></div>

<p><a href="http://flintparticles.org/examples/grass">View the source.</a></p>

<p>The grass will look different every time. I have deliberately made this draw slowly so the effect can be seen. It could be rendered much more rapidly by adjusting the parameters. The grass could also be draw instantaneously as a static image by using the <a href="http://flintparticles.org/docs/org/flintparticles/common/emitters/Emitter.html#runAhead()">runAhead</a> method of the emitter to jump straight to the end state of the system.</p>

<p><a href="http://flintparticles.org/">Have fun with the new version.</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.richardlord.net/blog/new-line-renderers-in-flint/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flint Particles in Flex</title>
		<link>http://www.richardlord.net/blog/flint-particles-in-flex</link>
		<comments>http://www.richardlord.net/blog/flint-particles-in-flex#comments</comments>
		<pubDate>Fri, 26 Jun 2009 13:30:44 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flint]]></category>
		<category><![CDATA[Particles]]></category>

		<guid isPermaLink="false">http://www.bigroom.co.uk/blog/flint-particles-in-flex/</guid>
		<description><![CDATA[<p>I released version 2.1 of <a href="http://flintparticles.org/">Flint</a> yesterday. This version features a number of small changes and a couple of major ones. You can read about all the changes <a href="http://flintparticles.org/blog/version-210-released">on the Flint website</a>, but I want to talk about the biggest change here. Flint now has full support and integration with the Flex Framework...</p>]]></description>
			<content:encoded><![CDATA[<p>I released version 2.1 of <a href="http://flintparticles.org/">Flint</a> yesterday. This version features a number of small changes and a couple of major ones. You can read about all the changes <a href="http://flintparticles.org/blog/version-210-released">on the Flint website</a>, but I want to talk about the biggest change here. Flint now has full support and integration with the Flex Framework.</p>

<p>This means that all Flint&#8217;s renderer&#8217;s have Flex Framework compatible counterparts that extend UIComponent and that particle effects can be created with MXML code.</p>

<p>So, for example, a snow effect can be created like this</p>

<pre class="code">&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application
  xmlns:mx="http://www.adobe.com/2006/mxml"
  xmlns:f="http://flintparticles.org/2009/flint2d"
  layout="absolute" width="600" height="400"&gt;
  
  &lt;mx:Script&gt;
    &lt;![CDATA[
      import org.flintparticles.common.displayObjects.RadialDot;
    ]]&gt;
  &lt;/mx:Script&gt;

&lt;mx:Image source="@Embed(source='assets/Snow_1.png')"/&gt;
&lt;f:DisplayObjectRenderer id="renderer" width="600" height="400"&gt;
  &lt;f:emitters&gt;
    &lt;f:Emitter id="emitter" autoStart="true" runAheadTime="10"&gt;
      &lt;f:counter&gt;
        &lt;f:Steady rate="150"/&gt;
      &lt;/f:counter&gt;
      &lt;f:initializers&gt;
        &lt;f:Position&gt;
          &lt;f:LineZone startX="-5" startY="-5" endX="605" endY="-5"/&gt;
        &lt;/f:Position&gt;
        &lt;f:Velocity&gt;
          &lt;f:PointZone x="0" y="65"/&gt;
        &lt;/f:Velocity&gt;
        &lt;f:ImageClass imageClass="{RadialDot}" parameters="{[2]}"/&gt;
        &lt;f:ScaleImageInit minScale="0.75" maxScale="2"/&gt;
      &lt;/f:initializers&gt;
      &lt;f:actions&gt;
        &lt;f:Move/&gt;
        &lt;f:DeathZone zoneIsSafe="true"&gt;
          &lt;f:RectangleZone left="-10" right="620"
                   top="-10" bottom="420"/&gt;
        &lt;/f:DeathZone&gt;
        &lt;f:RandomDrift driftX="20" driftY="20"/&gt;
      &lt;/f:actions&gt;
    &lt;/f:Emitter&gt;
  &lt;/f:emitters&gt;
&lt;/f:DisplayObjectRenderer&gt;
&lt;mx:Image source="@Embed(source='assets/Snow_1_over.png')"/&gt;
&lt;/mx:Application&gt;</pre>

<p>Which produces this swf</p>

<div id="swf4f2e8df3b4ec2">
<p><b>Flash required:</b> You need version 10 or later of the free Flash player from Adobe to use this content. To download and install the free player from Adobe's web site <a href="http://get.adobe.com/flashplayer/">click here</a>.</p>
</div>
<script type="text/javascript">
var params = {loop:"false",quality:"high",allowfullscreen:"true",bgcolor:"#FFFFFF"};
var flashvars = {};
swfobject.embedSWF("/images/blog/Snowfall2.swf", "swf4f2e8df3b4ec2", "600", "400", "10.0.0", "/swf/expressInstall.swf", flashvars, params, {} );
</script>

<p>All the <a href="http://flintparticles.org/examples">examples</a> in the Flint project are now available in at least three forms &#8211; Flash, PureAS3, and Flex.</p>

<p><a href="http://flintparticles.org/">Have fun with the new version.</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.richardlord.net/blog/flint-particles-in-flex/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Flint 2.0 released</title>
		<link>http://www.richardlord.net/blog/flint-20-released</link>
		<comments>http://www.richardlord.net/blog/flint-20-released#comments</comments>
		<pubDate>Mon, 27 Oct 2008 09:07:11 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Flint]]></category>
		<category><![CDATA[Flocking]]></category>
		<category><![CDATA[Particles]]></category>

		<guid isPermaLink="false">http://www.bigroom.co.uk/blog/flint-20-released/</guid>
		<description><![CDATA[<p>I released version 2.0 of Flint particles today. This features one bug-fix and a number of minor speed enhancements over the beta that has been available for the past couple of weeks. I've also added an mxp installer to the downloads, and tested everything with Flash CS4. As usual, you can find more on the Flint website...</p>]]></description>
			<content:encoded><![CDATA[<p>I released version 2.0 of <a href="http://flintparticles.org/">Flint particles</a> today. This features one bug-fix and a number of minor speed enhancements over the beta that has been available for the past couple of weeks. I&#8217;ve also added an mxp installer to the <a href="http://code.google.com/p/flint-particle-system/downloads/list">downloads</a>, and tested everything with Flash CS4. As usual, you can find more on the <a href="http://flintparticles.org/">Flint website</a>.</p>

<p>I&#8217;ll be taking a short break from Flint while I catch up on some other work, then I plan to push the 3D features further, with better integration with <a href="http://away3d.com/">Away3D</a> and <a href="http://blog.papervision3d.org/">Papervision3D</a> and the addition of support for <a href="http://www.flashsandy.org/">Sandy</a>.</p>

<p>Here&#8217;s an example of the new version of Flint doing flocking in 3D.</p>

<div class="spaced"><div id="swf4f2e8df3b62d1">
<p><b>Flash required:</b> You need version 10 or later of the free Flash player from Adobe to use this content. To download and install the free player from Adobe's web site <a href="http://get.adobe.com/flashplayer/">click here</a>.</p>
</div>
<script type="text/javascript">
var params = {loop:"false",quality:"high",allowfullscreen:"true",bgcolor:"#CCCCCC"};
var flashvars = {};
swfobject.embedSWF("/images/blog/Flocking3d.swf", "swf4f2e8df3b62d1", "500", "500", "10.0.0", "/swf/expressInstall.swf", flashvars, params, {} );
</script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.richardlord.net/blog/flint-20-released/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flint does Papervision3D and Away3D</title>
		<link>http://www.richardlord.net/blog/flint-does-papervision3d-and-away3d</link>
		<comments>http://www.richardlord.net/blog/flint-does-papervision3d-and-away3d#comments</comments>
		<pubDate>Wed, 17 Sep 2008 09:25:04 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Away3D]]></category>
		<category><![CDATA[Flint]]></category>
		<category><![CDATA[Papervision3D]]></category>
		<category><![CDATA[Particles]]></category>

		<guid isPermaLink="false">http://www.bigroom.co.uk/blog/flint-does-papervision3d-and-away3d/</guid>
		<description><![CDATA[<p>Today I released a new alpha of version 2 of the <a href="http://flintparticles.org">Flint particle system</a>. This version adds renderers for Papervision3D and Away3D to the library, so that particle effects can be integrated with a 3D scene in these libraries...</p>]]></description>
			<content:encoded><![CDATA[<p>Today I released a new alpha of version 2 of the <a href="http://flintparticles.org">Flint particle system</a>. This version adds renderers for Papervision3D and Away3D to the library, so that particle effects can be integrated with a 3D scene in these libraries.</p>

<p>For Away3D Flint has one renderer, the Away3D renderer, that uses any Away3D Object3D type for displaying each particle inside an ObjectContainer3D. This lets you use 2D sprites or 3D objects for the particles.</p>

<p>For Papervision3D, Flint has three renderers -</p>

<ul>
<li>A pixel renderer that displays each particle as a pixel in a Papervision Pixels object.</li>
<li>A particle renderer that displays each particle in a Papervision Particles object using a Papervision particle.</li>
<li>A basic renderer that displays each particle in a DisplayObject3DContainer using a Papervision DisplayObject3D object.</li>
</ul>

<p>In all cases, the renderer sets the appropriate properties of the particle&#8217;s display object based on the state of the particle system and leaves the 3D engine to do the drawing.</p>

<p>Flint can be downloaded from the <a href="http://code.google.com/p/flint-particle-system/downloads/list">Google Code repository</a>. Along with the source download, you&#8217;ll find documentation and examples using the new features.</p>

<p>Have fun with this, and if you find any bugs or spot a better way to do something please let me know via the <a href="http://flintparticles.org/forum">Flint forum</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.richardlord.net/blog/flint-does-papervision3d-and-away3d/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

