<?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>FxAIR.org</title>
	<atom:link href="http://www.fxair.org/home/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fxair.org/home</link>
	<description>Hong Kong Adobe Flex and AIR User Group</description>
	<lastBuildDate>Tue, 14 Feb 2012 06:13:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Adobe Refresh 2012</title>
		<link>http://www.fxair.org/home/2012/02/adobe-refresh-2012/</link>
		<comments>http://www.fxair.org/home/2012/02/adobe-refresh-2012/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 06:04:37 +0000</pubDate>
		<dc:creator>FxAIR.org</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[2012]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Refresh]]></category>

		<guid isPermaLink="false">http://www.fxair.org/home/?p=1500</guid>
		<description><![CDATA[For the absolute latest solutions in creating standards based websites and applications&#8230; you need to hit REFRESH! Adobe Refresh 2012 is coming on 23 February 2012. The event covers various web design and application development technologies this year, including HTML5, CSS3, jQuery Mobile, PhoneGap, Typekit and Edge. Refresh 2012 is aimed at developers and designers ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fxair.org/home/wp-content/uploads/2012/02/refresh_marquee.jpg"><img class="alignnone size-medium wp-image-1501" title="refresh_marquee" src="http://www.fxair.org/home/wp-content/uploads/2012/02/refresh_marquee-300x110.jpg" alt="" width="300" height="110" /></a></p>
<p><span style="color: #3fb7fd; font-size: 24px;">For the absolute latest solutions in creating standards based websites and applications&#8230; you need to hit REFRESH!</span></p>
<p>Adobe Refresh 2012 is coming on 23 February 2012. The event covers various web design and application development technologies this year, including HTML5, CSS3, jQuery Mobile, PhoneGap, Typekit and Edge.</p>
<p>Refresh 2012 is aimed at developers and designers who are wanting to increase their knowledge and extend their reach to standards based content across devices. And it is <strong>free</strong> this year!</p>
<p><a href="http://www.adobe.com/hk_en/special/adoberefresh2012/" target="_blank">More information and registration</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fxair.org/home/2012/02/adobe-refresh-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>“Between the lines/書中”, an installation using Kinect and openFrameworks</title>
		<link>http://feedproxy.google.com/~r/AndyLi/~3/6VwcvcKOeyU/</link>
		<comments>http://feedproxy.google.com/~r/AndyLi/~3/6VwcvcKOeyU/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 12:22:42 +0000</pubDate>
		<dc:creator>Andy Li</dc:creator>
				<category><![CDATA[HK Developers Feed]]></category>

		<guid isPermaLink="false">http://blog.onthewings.net/?p=1083</guid>
		<description><![CDATA[The installation art I have been working on since last month have been installed. You can now see it in action in Hong Kong Book Fair from 20-26 July at Hong Kong Exhibition and Convention Centre, inside the booth of CityU Press (1D-A28). 103" Plasma HD TVBy City University of Hong Kong Press &#160;&#124;&#160; View ...]]></description>
			<content:encoded><![CDATA[<p>The installation art I have been working on since last month have been installed. You can now see it in action in <a href="http://hkbookfair.hktdc.com/">Hong Kong Book Fair</a> from 20-26 July at Hong Kong Exhibition and Convention Centre, inside the booth of <a href="http://www.cityupress.edu.hk/">CityU Press</a> (1D-A28).</p>
<div class='sohailfbbox'>
<div class='sohailfbboxhead'><img src='http://graph.facebook.com/96844704488/picture' align='left' style='margin-right:10px; width:40px; height:40px;' /><img src='http://blog.onthewings.net/wp-content/plugins/embed-facebook/images/photos.png' style='vertical-align:text-top' /> 103" Plasma HD TV<br /><span>By <a href='http://www.facebook.com/profile.php?id=96844704488' >City University of Hong Kong Press</a> &nbsp;|&nbsp; <a href='http://www.facebook.com/photo.php?fbid=10150280671979489&set=a.10150280671799489.346130.96844704488&type=1' >View on Facebook</a></span></div>
<div class='sohailfbboxbody'>
<a href='http://sphotos.xx.fbcdn.net/hphotos-snc6/285195_10150280671979489_96844704488_7506253_3424474_n.jpg' title='103" Plasma HD TV' onclick='return showSlideWindow(this, 600, 400);' class='viewable'><img src='http://sphotos.xx.fbcdn.net/hphotos-snc6/285195_10150280671979489_96844704488_7506253_3424474_n.jpg' style='max-width:100%' /></a></div>
</div>

<div class='sohailfbbox'>
<div class='sohailfbboxhead'><img src='http://graph.facebook.com/96844704488/picture' align='left' style='margin-right:10px; width:40px; height:40px;' /><img src='http://blog.onthewings.net/wp-content/plugins/embed-facebook/images/photos.png' style='vertical-align:text-top' /> Come and join us to play the interactive programme at our bo<br /><span>By <a href='http://www.facebook.com/profile.php?id=96844704488' >City University of Hong Kong Press</a> &nbsp;|&nbsp; <a href='http://www.facebook.com/photo.php?fbid=10150280672364489&set=a.10150280671799489.346130.96844704488&type=1' >View on Facebook</a></span></div>
<div class='sohailfbboxbody'>
<a href='http://sphotos.xx.fbcdn.net/hphotos-snc6/284143_10150280672364489_96844704488_7506266_180993_n.jpg' title='Come and join us to play the interactive programme at our booth' onclick='return showSlideWindow(this, 600, 400);' class='viewable'><img src='http://sphotos.xx.fbcdn.net/hphotos-snc6/284143_10150280672364489_96844704488_7506266_180993_n.jpg' style='max-width:100%' /></a></div>
</div>

<div class='sohailfbbox'>
<div class='sohailfbboxhead'><img src='http://graph.facebook.com/96844704488/picture' align='left' style='margin-right:10px; width:40px; height:40px;' /><img src='http://blog.onthewings.net/wp-content/plugins/embed-facebook/images/photos.png' style='vertical-align:text-top' /> <br /><span>By <a href='http://www.facebook.com/profile.php?id=96844704488' >City University of Hong Kong Press</a> &nbsp;|&nbsp; <a href='http://www.facebook.com/photo.php?fbid=10150280672209489&set=a.10150280671799489.346130.96844704488&type=1' >View on Facebook</a></span></div>
<div class='sohailfbboxbody'>
<a href='http://sphotos.xx.fbcdn.net/hphotos-snc6/284485_10150280672209489_96844704488_7506261_6168863_n.jpg' title='' onclick='return showSlideWindow(this, 600, 400);' class='viewable'><img src='http://sphotos.xx.fbcdn.net/hphotos-snc6/284485_10150280672209489_96844704488_7506261_6168863_n.jpg' style='max-width:100%' /></a></div>
</div>

<div class='sohailfbbox'>
<div class='sohailfbboxhead'><img src='http://graph.facebook.com/96844704488/picture' align='left' style='margin-right:10px; width:40px; height:40px;' /><img src='http://blog.onthewings.net/wp-content/plugins/embed-facebook/images/photos.png' style='vertical-align:text-top' /> <br /><span>By <a href='http://www.facebook.com/profile.php?id=96844704488' >City University of Hong Kong Press</a> &nbsp;|&nbsp; <a href='http://www.facebook.com/photo.php?fbid=10150280671884489&set=a.10150280671799489.346130.96844704488&type=1' >View on Facebook</a></span></div>
<div class='sohailfbboxbody'>
<a href='http://sphotos.xx.fbcdn.net/hphotos-snc6/283075_10150280671884489_96844704488_7506250_6004667_n.jpg' title='' onclick='return showSlideWindow(this, 600, 400);' class='viewable'><img src='http://sphotos.xx.fbcdn.net/hphotos-snc6/283075_10150280671884489_96844704488_7506250_6004667_n.jpg' style='max-width:100%' /></a></div>
</div>

<p><a href="http://en.wikipedia.org/wiki/Kinect">Kinect</a>(<a href="http://www.openni.org/">OpenNI</a>) is used for motion tracking, running a program I wrote in C++ with <a href="http://www.openframeworks.cc/">openFrameworks</a>. Collision and softbody simulation is done by <a href="http://www.bulletphysics.com/">Bullet</a>.</p>
<h3>Artist statement</h3>
<p>&#8220;Between the lines/書中&#8221; is an interactive installation that visualizes the famous Chinese proverb &#8220;書中自有黃金屋&#8221;, which literally means &#8220;A book holds a house of gold&#8221;.</p>
<p>Viewers can go into a 3D virtual space where Chinese literature sentences suspended all over the place. By waving and touching, the Chinese characters will be transformed into gold. And with enough golden characters, a house of gold will be constructed.</p>
<p>The Chinese sentences are extracted from The Four Books(四書), which are the authoritative texts of Confucianism(儒家) in China written two thousand years ago. They are displayed in both traditional Chinese calligraphy and modern fonts, in the meaning of those classic texts are relevant to society independent of time.</p>
<p>The interaction is a visual representation of the joyful and rewarding experience of reading books. There can be multiple viewers interact with the installation at the same time, which aligned to the fact that book reading can be a social process, where readers can share thoughts, recommend books to each other.</p>
<div id="attachment_1097" class="wp-caption alignleft" style="width: 370px"><a href="http://blog.onthewings.net/wp-content/uploads/2011/07/IMG_0419.jpg"><img class="size-medium wp-image-1097 " title="Chinese sentences" src="http://blog.onthewings.net/wp-content/uploads/2011/07/IMG_0419-450x300.jpg" alt="" width="360" height="240" /></a><p class="wp-caption-text">Chinese sentences that hang inside the screen.</p></div>
<div id="attachment_1098" class="wp-caption alignright" style="width: 310px"><a href="http://blog.onthewings.net/wp-content/uploads/2011/07/IMG_0418.jpg"><img class="size-medium wp-image-1098 " title="House of gold" src="http://blog.onthewings.net/wp-content/uploads/2011/07/IMG_0418-300x450.jpg" alt="" width="300" height="450" /></a><p class="wp-caption-text">The house of gold appears when there is enough golden sentences.</p></div>
<div id="attachment_1099" class="wp-caption alignleft" style="width: 370px"><a href="http://blog.onthewings.net/wp-content/uploads/2011/07/IMG_0431.jpg"><img class="size-medium wp-image-1099 " title="Viewers interacting with the installation" src="http://blog.onthewings.net/wp-content/uploads/2011/07/IMG_0431-450x300.jpg" alt="" width="360" height="240" /></a><p class="wp-caption-text">Viewers can touch the sentences and turn them into gold.</p></div>
<hr/>
<p><a href='http://www.facebook.com/video/video.php?v=255107494499599'>http://www.facebook.com/video/video.php?v=255107494499599</a></p>
<div class="tweetmeme_button" style="margin: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http://blog.onthewings.net/2011/07/23/between-the-lines-%25e6%259b%25b8%25e4%25b8%25ad-an-installation-using-kinect-and-openframeworks/"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http://blog.onthewings.net/2011/07/23/between-the-lines-%25e6%259b%25b8%25e4%25b8%25ad-an-installation-using-kinect-and-openframeworks/&amp;source=andy_li&amp;style=compact&amp;service=bit.ly&amp;service_api=andyli:R_620a3608de8b1566599766b2ea71c3ba&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <p><a href="http://blog.onthewings.net/?flattrss_redirect&amp;id=1083&amp;md5=fee187a8e9e348eb6a5f694bbb0424de" title="Flattr" ><img src="http://blog.onthewings.net/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AndyLi?a=6VwcvcKOeyU:0o-ujA6N7kk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AndyLi?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AndyLi?a=6VwcvcKOeyU:0o-ujA6N7kk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AndyLi?i=6VwcvcKOeyU:0o-ujA6N7kk:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AndyLi/~4/6VwcvcKOeyU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.onthewings.net/2011/07/23/between-the-lines-%e6%9b%b8%e4%b8%ad-an-installation-using-kinect-and-openframeworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generative art in haXe and OpenFrameworks final round, showcasing in Playful Media 2011</title>
		<link>http://feedproxy.google.com/~r/AndyLi/~3/_0j05MxBvNA/</link>
		<comments>http://feedproxy.google.com/~r/AndyLi/~3/_0j05MxBvNA/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 07:00:48 +0000</pubDate>
		<dc:creator>Andy Li</dc:creator>
				<category><![CDATA[HK Developers Feed]]></category>

		<guid isPermaLink="false">http://blog.onthewings.net/?p=1059</guid>
		<description><![CDATA[The generative arts are going to be shown in Playful Media, which is the showcase of BScCM, the Bachelor degree program I graduated last year. This is going to be my 4th year joining the exhibition(2010, 2009, 2008)! If you are in Hong Kong and have time, come to have a look! It&#8217;s almost half a year, ...]]></description>
			<content:encoded><![CDATA[<p>The generative arts are going to be shown in <a href="http://playfulmedia.hk/">Playful Media</a>, which is the showcase of <a href="http://sweb.cityu.edu.hk/bsccm/main/">BScCM</a>, the Bachelor degree program I graduated last year. This is going to be my 4th year joining the exhibition(<a href="http://blog.onthewings.net/2010/07/07/augmented-mirror-my-latest-project/">2010</a>, <a href="http://blog.onthewings.net/2009/06/30/miream-explained/">2009</a>, <a href="http://blog.onthewings.net/2008/06/25/photo-of-mirage/">2008</a>)! If you are in Hong Kong and have time, come to have a look!</p>
<p><a href="http://playfulmedia.hk/"><img class="size-full wp-image-1061 alignnone" title="Playful Media, SIG Showcase 2011" src="http://blog.onthewings.net/wp-content/uploads/2011/06/playfulMedia2011.jpg" alt="" width="510" height="720" /></a></p>
<p>It&#8217;s almost half a year, coding a piece of generative art everyday using <a href="http://haxe.org/">haXe</a> and <a href="http://www.openframeworks.cc/">openFrameworks</a>. It was certainly fun and educational to me, as I had to keep reading, trying and mixing all those generating methods, brainstorming new algorithm, looking for best programming approach etc. Doing all those things everyday sharpen my skill a lot, and I&#8217;m really excited when people <a href="http://twitter.com/skial/status/81713720207753216">tweet</a> <a href="http://twitter.com/nicoptere/status/56885683721224192">about</a> <a href="http://twitter.com/martin_lindelof/status/54851931721568256">them</a>, leave comment here or over <a href="http://www.flickr.com/photos/andy-li/sets/72157625719497466/">Flickr</a>. Thanks guys!</p>
<p>However, I decided to stop continuing the journey (at least for a while). Occurring to me often in the last few weeks, I either spent too much time on one piece, affecting my school works, or because I have to finish some urgent things, I tweaked only a little on the previous code, resulted in producing an unsatisfactory piece. I was sick and had a fever last week, which became a good time to close the project.</p>
<p>I now have more time to play with other interesting ideas, and finishing the works that queued up. <a href="http://github.com/andyli/hxOpenFrameworks/">hxOpenFrameworks</a> will continue be developed, of course. Let&#8217;s expect some <a href="http://opencv.willowgarage.com/wiki/">OpenCV</a>, Kinect (<a href="http://www.openni.org/">OpenNI</a>) and other goodness <img src='http://blog.onthewings.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Finally here are the selected pieces I made in June:</p>
<p>Kept the fractal circles idea going.<br />
<a href="http://www.flickr.com/photos/andy-li/5781509171/" title="20110601_000257 by on_the_wings, on Flickr"><img src="http://farm4.static.flickr.com/3504/5781509171_ac668ec12e_z.jpg" width="640" height="400" alt="20110601_000257"></a><br />
<a href="http://www.flickr.com/photos/andy-li/5789528706/" title="20110602_150821 by on_the_wings, on Flickr"><img src="http://farm4.static.flickr.com/3191/5789528706_1e932fda75_z.jpg" width="640" height="400" alt="20110602_150821"></a></p>
<p>Some more saturated color with complementary color scheme.<br />
<a href="http://www.flickr.com/photos/andy-li/5795971521/" title="20110604_203423 by on_the_wings, on Flickr"><img src="http://farm3.static.flickr.com/2434/5795971521_8ab710f3bf_z.jpg" width="640" height="400" alt="20110604_203423"></a></p>
<p>Reduced opacity, the circles merged nicely to each other.<br />
<a href="http://www.flickr.com/photos/andy-li/5808750022/" title="20110607_232554 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5038/5808750022_7a6cf51dbd_z.jpg" width="640" height="400" alt="20110607_232554"></a></p>
<p>Simplified but surprisely eye-catching vector-style flower.<br />
<a href="http://www.flickr.com/photos/andy-li/5818378888/" title="20110610_222235 by on_the_wings, on Flickr"><img src="http://farm4.static.flickr.com/3340/5818378888_f2d437b0e9_z.jpg" width="640" height="400" alt="20110610_222235"></a></p>
<p>I ported Eugene Zatepyakin(in-spirit)&#8217;s AS3 <a href="http://code.google.com/p/in-spirit/source/browse/#svn/trunk/projects/FluidSolver">FluidSolver</a> to haXe and started to play with it.<br />
<a href="http://www.flickr.com/photos/andy-li/5822565570/" title="20110612_055429 by on_the_wings, on Flickr"><img src="http://farm3.static.flickr.com/2663/5822565570_bffc68a853_z.jpg" width="640" height="640" alt="20110612_055429"></a></p>
<p>Here I put several rotating color sources in the center and push out dark red colors. Pretty horror looking.<br />
<a href="http://www.flickr.com/photos/andy-li/5827920167/" title="20110613_194301 by on_the_wings, on Flickr"><img src="http://farm4.static.flickr.com/3595/5827920167_2f63ea9e07_z.jpg" width="640" height="640" alt="20110613_194301"></a></p>
<p>More sources, larger radius. It looks like an eclipse, does it?<br />
<a href="http://www.flickr.com/photos/andy-li/5832930342/" title="20110614_230019 by on_the_wings, on Flickr"><img src="http://farm4.static.flickr.com/3419/5832930342_751a1a74f9_z.jpg" width="640" height="640" alt="20110614_230019"></a></p>
<p>An eye-catching fire ring. The key is to add color and force periodically other than continuously.<br />
<a href="http://www.flickr.com/photos/andy-li/5836167300/" title="20110615_211730 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5236/5836167300_45420e0b0e_z.jpg" width="640" height="640" alt="20110615_211730"></a></p>
<p>Simulating the diffusion of ink on paper.<br />
<a href="http://www.flickr.com/photos/andy-li/5837337250/" title="20110616_042334 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5221/5837337250_ede801d87c_z.jpg" width="640" height="640" alt="20110616_042334"></a></p>
<p>A cup of generative latte. Think I can build an app for making <a href="http://www.google.com/search?q=coffee+art&#038;tbm=isch">coffee art</a>.<br />
<a href="http://www.flickr.com/photos/andy-li/5843292849/" title="20110618_065311 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5156/5843292849_2b0ce89a0e_z.jpg" width="640" height="640" alt="20110618_065311"></a></p>
<p>Another color, another pattern.<br />
<a href="http://www.flickr.com/photos/andy-li/5847283209/" title="20110619_135648 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5160/5847283209_9ed3c1bb28_z.jpg" width="640" height="640" alt="20110619_135648"></a>
<div class="tweetmeme_button" style="margin: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http://blog.onthewings.net/2011/06/24/generative-art-in-haxe-and-openframeworks-final-round-showcasing-in-playful-media-2011/"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http://blog.onthewings.net/2011/06/24/generative-art-in-haxe-and-openframeworks-final-round-showcasing-in-playful-media-2011/&amp;source=andy_li&amp;style=compact&amp;service=bit.ly&amp;service_api=andyli:R_620a3608de8b1566599766b2ea71c3ba&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <p><a href="http://blog.onthewings.net/?flattrss_redirect&amp;id=1059&amp;md5=98ed443b5f5702f24d9cd5fb5329432e" title="Flattr" ><img src="http://blog.onthewings.net/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AndyLi?a=_0j05MxBvNA:BGLJIo3XwVE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AndyLi?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AndyLi?a=_0j05MxBvNA:BGLJIo3XwVE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AndyLi?i=_0j05MxBvNA:BGLJIo3XwVE:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AndyLi/~4/_0j05MxBvNA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.onthewings.net/2011/06/24/generative-art-in-haxe-and-openframeworks-final-round-showcasing-in-playful-media-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>haXe jQueryExtern update: align with 1.6.1, ‘jQuery’ package…</title>
		<link>http://feedproxy.google.com/~r/AndyLi/~3/FlQjKPirGbU/</link>
		<comments>http://feedproxy.google.com/~r/AndyLi/~3/FlQjKPirGbU/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 16:00:43 +0000</pubDate>
		<dc:creator>Andy Li</dc:creator>
				<category><![CDATA[HK Developers Feed]]></category>

		<guid isPermaLink="false">http://blog.onthewings.net/?p=1053</guid>
		<description><![CDATA[I&#8217;ve recently updated jQueryExtern to align with jQuery 1.6.1. To get it, use the usual &#8220;haxelib upgrade&#8221; (or &#8220;haxelib install jQueryExtern&#8221; if you have not installed it previously). I introduced some changes that would like to expain here: package jQuery; Finally jQueryExtern has its own package, &#8220;jQuery&#8221;. The previous &#8220;jQueryPlugins&#8221; package is also moved to ...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently updated <a href="http://lib.haxe.org/p/jQueryExtern">jQueryExtern</a> to align with <a href="http://api.jquery.com/category/version/1.6/">jQuery 1.6.1</a>. To get it, use the usual &#8220;haxelib upgrade&#8221; (or &#8220;haxelib install jQueryExtern&#8221; if you have not installed it previously).</p>
<p>I introduced some changes that would like to expain here:</p>
<h3>package jQuery;</h3>
<p>Finally jQueryExtern has its own package, &#8220;jQuery&#8221;. The previous &#8220;jQueryPlugins&#8221; package is also moved to &#8220;jQuery.plugins&#8221;.</p>
<p>It is done because jQuery has more and more types, eg. &#8220;<a href="http://api.jquery.com/Types/#jqXHR">jqXHR</a>&#8220;, &#8220;<a href="http://api.jquery.com/category/deferred-object/">Deferred</a>&#8220; and&#8221;<a href="http://api.jquery.com/Types/#Promise">Promise</a>&#8221; are introduced in jQuery 1.5. In the previous versions of jQueryExtern, most of them are prefixed by &#8220;JQuery&#8221; (&#8220;JQueryPromise&#8221;, &#8220;JQueryDeferred&#8221;, &#8220;JQueryEvent&#8221;) which is lengthy and redundant, with &#8220;jQuery&#8221; package, it is now safe to remove the prefix. In case of name collision, simply use the fully qualified names, eg &#8220;jQuery.Event&#8221;.</p>
<p>To conclude, you should now &#8220;include jQuery.JQuery;&#8221; instead of &#8220;include JQuery;&#8221;.</p>
<h3>JQueryStatic and _static</h3>
<p>To solve the problem of haXe disallowing the use of same name for static and non-static members, previously I grouped the static methods into a separate class &#8220;JQueryS&#8221;. It is now renamed as &#8220;JQueryStatic&#8221;, which is more meaningful.</p>
<p>I&#8217;ve also added a &#8220;_static&#8221; static property to &#8220;JQuery&#8221;. It is for the people who don&#8217;t read documentation, when they type &#8220;JQuery.&#8221;, there is still a code completion &#8220;_static&#8221; for them to retrieve the &#8220;JQueryStatic&#8221; class.</p>
<p>Whether to use &#8220;JQuery._static&#8221; or &#8220;JQueryStatic&#8221; is up to you.</p>
<h3>Backward compatibility and JQUERY_NO_DEPRECATED</h3>
<p>Don&#8217;t worry on having to change all your production codes to match the changes mentioned above. I&#8217;ve included a top-level &#8220;JQuery.hx&#8221; for maintaining backward compatibility. A number of typedef are placed there to solve the old naming.</p>
<p>However, the old naming are deprecated and the top-level &#8220;JQuery.hx&#8221; will be removed a few versions later. You should try to update your code and test with &#8220;-D JQUERY_NO_DEPRECATED&#8221;.</p>
<p>The typedef trick have not been made for the plug-ins, so if you&#8217;re using any of the plug-ins, you have to make the changes when updating to jQueryExtern 1.6.1.
<div class="tweetmeme_button" style="margin: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http://blog.onthewings.net/2011/06/12/haxe-jqueryextern-update-align-with-1-6-1-jquery-package/"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http://blog.onthewings.net/2011/06/12/haxe-jqueryextern-update-align-with-1-6-1-jquery-package/&amp;source=andy_li&amp;style=compact&amp;service=bit.ly&amp;service_api=andyli:R_620a3608de8b1566599766b2ea71c3ba&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <p><a href="http://blog.onthewings.net/?flattrss_redirect&amp;id=1053&amp;md5=6f60914576d0e38d16f1aa4ddf176d8c" title="Flattr" ><img src="http://blog.onthewings.net/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AndyLi?a=FlQjKPirGbU:lS9AfNrhBH4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AndyLi?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AndyLi?a=FlQjKPirGbU:lS9AfNrhBH4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AndyLi?i=FlQjKPirGbU:lS9AfNrhBH4:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AndyLi/~4/FlQjKPirGbU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.onthewings.net/2011/06/12/haxe-jqueryextern-update-align-with-1-6-1-jquery-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating generative art in haXe and OpenFrameworks (May 2011)</title>
		<link>http://feedproxy.google.com/~r/AndyLi/~3/i-b2QuG7Gm4/</link>
		<comments>http://feedproxy.google.com/~r/AndyLi/~3/i-b2QuG7Gm4/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 11:00:56 +0000</pubDate>
		<dc:creator>Andy Li</dc:creator>
				<category><![CDATA[HK Developers Feed]]></category>

		<guid isPermaLink="false">http://blog.onthewings.net/?p=1044</guid>
		<description><![CDATA[The fifth month of doing a piece of generative art everyday using haXe and openframeworks. As a reminder, all the pieces can be viewed from my Flickr set. Also the haXe source code for generating those images can be found in the description in the corresponding Flickr page. Here below are the selected pieces made ...]]></description>
			<content:encoded><![CDATA[<p>The fifth month of doing a piece of generative art everyday using <a href="http://haxe.org/">haXe </a>and <a href="http://www.openframeworks.cc/">openframeworks</a>. As a reminder, all the pieces can be viewed from my <a href="http://www.flickr.com/photos/andy-li/sets/72157625719497466/">Flickr set</a>. Also the haXe source code for generating those images can be found in the description in the corresponding Flickr page. Here below are the selected pieces made in this month:</p>
<p>Drawing only part of the lines generated by midpoint displacement algorithm can give out some interesting unknown creature contours, looking into each other&#8217;s eyes.<br />
<a href="http://www.flickr.com/photos/andy-li/5675873822/" title="20110501_213017 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5186/5675873822_215f853558_z.jpg" width="640" height="400" alt="20110501_213017"></a></p>
<p>Another arrangement. It now looks like an island.<br />
<a href="http://www.flickr.com/photos/andy-li/5680124504/" title="20110502_215047 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5149/5680124504_faaa94d9f8_z.jpg" width="640" height="400" alt="20110502_215047"></a></p>
<p>Used a algorithm that I read from somewhere, that start with a point with some color, for each iteration the color spread to the neighbors with a little variation. I really love its oil-painting texture.<br />
<a href="http://www.flickr.com/photos/andy-li/5684227324/" title="20110503_234909 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5181/5684227324_48a99ff30f_z.jpg" width="640" height="480" alt="20110503_234909"></a></p>
<p>Increased the spread&#8217;s random factor, allowing it to spread a little bit backward.<br />
<a href="http://www.flickr.com/photos/andy-li/5686582667/" title="20110504_211026 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5142/5686582667_8fcba9d92f_z.jpg" width="640" height="480" alt="20110504_211026"></a></p>
<p>Keeped changing the spread implementation. This one keep increasing its hue from the center with a probability of reseting itself (to red).<br />
<a href="http://www.flickr.com/photos/andy-li/5687880919/" title="20110505_051547 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5110/5687880919_e45c27c5a8_z.jpg" width="640" height="480" alt="20110505_051547"></a></p>
<p>Made the spread much more unstable and let there be more than one starting point. Resetting the lightness to 0 periodically gave out interesting organic layers.<br />
<a href="http://www.flickr.com/photos/andy-li/5696686552/" title="20110508_003406 by on_the_wings, on Flickr"><img src="http://farm4.static.flickr.com/3017/5696686552_4c0c0283ae_z.jpg" width="640" height="480" alt="20110508_003406"></a></p>
<p>Well, a beautiful rainbow color cup water mark on tablecloth&#8230;?<br />
<a href="http://www.flickr.com/photos/andy-li/5703327495/" title="20110509_233447 by on_the_wings, on Flickr"><img src="http://farm3.static.flickr.com/2193/5703327495_9c785804b5_z.jpg" width="640" height="480" alt="20110509_233447"></a></p>
<p>Played with fractal patterns. Full of circles in different sizes and positions in ratio.<br />
<a href="http://www.flickr.com/photos/andy-li/5720083630/" title="20110515_050235 by on_the_wings, on Flickr"><img src="http://farm4.static.flickr.com/3460/5720083630_ccf88a3940_z.jpg" width="640" height="400" alt="20110515_050235"></a><br />
<a href="http://www.flickr.com/photos/andy-li/5723592310/" title="20110516_031307 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5141/5723592310_7e91afe416_z.jpg" width="640" height="400" alt="20110516_031307"></a><br />
<a href="http://www.flickr.com/photos/andy-li/5726579451/" title="20110517_003704 by on_the_wings, on Flickr"><img src="http://farm3.static.flickr.com/2606/5726579451_750203d0de_z.jpg" width="640" height="400" alt="20110517_003704"></a></p>
<p>Used only small circles. Pretty cyber-looking.<br />
<a href="http://www.flickr.com/photos/andy-li/5744783864/" title="20110522_083005 by on_the_wings, on Flickr"><img src="http://farm4.static.flickr.com/3340/5744783864_10bf4d678b_z.jpg" width="640" height="400" alt="20110522_083005"></a></p>
<p>Used solid-filled circles. Colorful snowflakes.<br />
<a href="http://www.flickr.com/photos/andy-li/5753201159/" title="20110524_121242 by on_the_wings, on Flickr"><img src="http://farm4.static.flickr.com/3603/5753201159_5ea2866763_z.jpg" width="640" height="400" alt="20110524_121242"></a><br />
<a href="http://www.flickr.com/photos/andy-li/5758576752/" title="20110525_215533 by on_the_wings, on Flickr"><img src="http://farm3.static.flickr.com/2384/5758576752_9d79ab8c1b_z.jpg" width="640" height="400" alt="20110525_215533"></a></p>
<p>Simpler smaller patterns.<br />
<a href="http://www.flickr.com/photos/andy-li/5770548679/" title="20110529_164803 by on_the_wings, on Flickr"><img src="http://farm4.static.flickr.com/3266/5770548679_9b8e4744f7_z.jpg" width="640" height="400" alt="20110529_164803"></a><br />
<a href="http://www.flickr.com/photos/andy-li/5776232372/" title="20110530_212615 by on_the_wings, on Flickr"><img src="http://farm4.static.flickr.com/3373/5776232372_31f512fefb_z.jpg" width="640" height="400" alt="20110530_212615"></a>
<div class="tweetmeme_button" style="margin: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http://blog.onthewings.net/2011/06/01/creating-generative-art-in-haxe-and-openframeworks-may-2011/"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http://blog.onthewings.net/2011/06/01/creating-generative-art-in-haxe-and-openframeworks-may-2011/&amp;source=andy_li&amp;style=compact&amp;service=bit.ly&amp;service_api=andyli:R_620a3608de8b1566599766b2ea71c3ba&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <p><a href="http://blog.onthewings.net/?flattrss_redirect&amp;id=1044&amp;md5=877bf5290a198f238d7866ceb5b3c30a" title="Flattr" ><img src="http://blog.onthewings.net/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AndyLi?a=i-b2QuG7Gm4:GdLZrRPocg8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AndyLi?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AndyLi?a=i-b2QuG7Gm4:GdLZrRPocg8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AndyLi?i=i-b2QuG7Gm4:GdLZrRPocg8:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AndyLi/~4/i-b2QuG7Gm4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.onthewings.net/2011/06/01/creating-generative-art-in-haxe-and-openframeworks-may-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Creative Suite 5.5 Launch Seminar</title>
		<link>http://www.fxair.org/home/2011/05/adobe-creative-suite-5-5-launch-seminar/</link>
		<comments>http://www.fxair.org/home/2011/05/adobe-creative-suite-5-5-launch-seminar/#comments</comments>
		<pubDate>Wed, 11 May 2011 16:23:29 +0000</pubDate>
		<dc:creator>FxAIR.org</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.fxair.org/home/?p=1376</guid>
		<description><![CDATA[Engage the widest audience possible with the latest print, mobile, and interactive features. When you need to deliver rich, immersive experiences, master an ever-growing array of mobile screens and keep ahead of the trends in digital publishing, you need the power of Adobe Creative Suite 5.5. Improve your workflow, stay on top of industry trends ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fxair.org/events/1105/information.htm"><img src="http://www.fxair.org/home/wp-content/uploads/2011/05/blog_image-300x161.png" alt="" title="1105_blog_image" width="300" height="161" class="alignnone size-medium wp-image-1375" /></a></p>
<p><span style="color: #3FB7FD; font-size: 24px;">Engage the widest audience possible with the latest print, mobile, and interactive features.</span></p>
<p>When you need to deliver rich, immersive experiences, master an ever-growing array of mobile screens and keep ahead of the trends in digital publishing, you need the power of Adobe Creative Suite 5.5.</p>
<p>Improve your workflow, stay on top of industry trends and monetize your creations. Whether you&#8217;re a publisher, designer, developer, content creator or marketing professional, it&#8217;s time to discover the new possibilities within your reach.</p>
<p>Join us for a major launch event to celebrate the arrival of CS5.5, featuring an end-to-end workflow presentation.</p>
<p><a href="http://www.fxair.org/events/1105/information.htm">More information and registration</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fxair.org/home/2011/05/adobe-creative-suite-5-5-launch-seminar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating generative art in haXe and OpenFrameworks (April 2011)</title>
		<link>http://feedproxy.google.com/~r/AndyLi/~3/vGJ6_wHigZQ/</link>
		<comments>http://feedproxy.google.com/~r/AndyLi/~3/vGJ6_wHigZQ/#comments</comments>
		<pubDate>Wed, 04 May 2011 17:08:01 +0000</pubDate>
		<dc:creator>Andy Li</dc:creator>
				<category><![CDATA[HK Developers Feed]]></category>

		<guid isPermaLink="false">http://blog.onthewings.net/?p=1028</guid>
		<description><![CDATA[Here comes the forth month of doing a piece of generative art everyday. Every time I ran out of ideas, forcing myself to code brought me some unexpected results. It&#8217;s a starry night on a overcrowded planet. A simple but beautiful piece. Nothing complex there, just some random circles/rectangles placed together with a very thin ...]]></description>
			<content:encoded><![CDATA[<p>Here comes the forth month of doing a piece of generative art everyday. Every time I ran out of ideas, forcing myself to code brought me some unexpected results.</p>
<p>It&#8217;s a starry night on a overcrowded planet. A simple but beautiful piece. Nothing complex there, just some random circles/rectangles placed together with a very thin layer of <a href="http://en.wikipedia.org/wiki/Perlin_noise">perlin noise</a> as cloud. Be sure to click on it to view it in full size.<br />
<a href="http://www.flickr.com/photos/andy-li/5597503891/sizes/o/" title="20110407_220310 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5107/5597503891_c655e38350_z.jpg" width="640" height="400" alt="20110407_220310"></a></p>
<p>Discovered an interesting wave pattern while trying to implement <a href="http://en.wikipedia.org/wiki/Diamond-square_algorithm#Midpoint_displacement_algorithm">midpoint displacement algorithm</a>.<br />
<a href="http://www.flickr.com/photos/andy-li/5602483525/" title="20110409_202423 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5188/5602483525_5c4db7d757_z.jpg" width="640" height="400" alt="20110409_202423"></a></p>
<p>Below is a typical mountain created by <a href="http://en.wikipedia.org/wiki/Diamond-square_algorithm#Midpoint_displacement_algorithm">midpoint displacement algorithm</a>. Notice the sky and the mountain shares the same algorithm.<br />
<a href="http://www.flickr.com/photos/andy-li/5624729260/" title="20110416_230603 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5186/5624729260_45cda05fa1_z.jpg" width="640" height="480" alt="20110416_230603"></a></p>
<p>Let it displaces in color space instead of xy-plane.<br />
<a href="http://www.flickr.com/photos/andy-li/5634230185/" title="20110419_213919 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5062/5634230185_eb9bc9d8ba_z.jpg" width="640" height="400" alt="20110419_213919"></a></p>
<p>Same as above but with slightly different painting method.<br />
<a href="http://www.flickr.com/photos/andy-li/5637921034/" title="20110420_222149 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5107/5637921034_764ee59fbb_z.jpg" width="640" height="400" alt="20110420_222149"></a></p>
<p>Changing the input lines to circular form created a perspective. It&#8217;s like the grand canyon is undergoing sandstorm.<br />
<a href="http://www.flickr.com/photos/andy-li/5643315534/" title="20110422_203705 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5102/5643315534_e830764a57_z.jpg" width="640" height="400" alt="20110422_203705"></a></p>
<p>I&#8217;ve also tried making procedural cloud from old-school <a href="http://en.wikipedia.org/wiki/Perlin_noise">perlin noise</a>.<br />
<a href="http://www.flickr.com/photos/andy-li/5611909345/" title="20110412_133431 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5304/5611909345_6b79a37776_z.jpg" width="640" height="400" alt="20110412_133431"></a></p>
<p>Applying <a href="http://en.wikipedia.org/wiki/Perlin_noise">perlin noise</a> in some mixed strange color spaces(YUV, XYZ, HSL) instead of regular RGB.<br />
<a href="http://www.flickr.com/photos/andy-li/5660318891/" title="20110427_173428 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5267/5660318891_c0afb8abb1_z.jpg" width="640" height="480" alt="20110427_173428"></a>
<div class="tweetmeme_button" style="margin: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http://blog.onthewings.net/2011/05/05/creating-generative-art-in-haxe-and-openframeworks-april-2011/"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http://blog.onthewings.net/2011/05/05/creating-generative-art-in-haxe-and-openframeworks-april-2011/&amp;source=andy_li&amp;style=compact&amp;service=bit.ly&amp;service_api=andyli:R_620a3608de8b1566599766b2ea71c3ba&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <p><a href="http://blog.onthewings.net/?flattrss_redirect&amp;id=1028&amp;md5=4d78472e04906ad1d3d51b99064459fe" title="Flattr" ><img src="http://blog.onthewings.net/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AndyLi?a=vGJ6_wHigZQ:XmJo81hLhyA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AndyLi?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AndyLi?a=vGJ6_wHigZQ:XmJo81hLhyA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AndyLi?i=vGJ6_wHigZQ:XmJo81hLhyA:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AndyLi/~4/vGJ6_wHigZQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.onthewings.net/2011/05/05/creating-generative-art-in-haxe-and-openframeworks-april-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Flash Builder 4.5 Trial Available</title>
		<link>http://www.fxair.org/home/2011/05/adobe-flash-builder-4-5-trial-available/</link>
		<comments>http://www.fxair.org/home/2011/05/adobe-flash-builder-4-5-trial-available/#comments</comments>
		<pubDate>Wed, 04 May 2011 15:27:55 +0000</pubDate>
		<dc:creator>FxAIR.org</dc:creator>
				<category><![CDATA[Product Release]]></category>
		<category><![CDATA[flash builder]]></category>

		<guid isPermaLink="false">http://www.fxair.org/home/?p=1349</guid>
		<description><![CDATA[Adobe Flash Builder 4.5 trial is now available from Adobe.com The new version includes an updated Eclipse, 3.6 SDK and mobile SDK. http://www.adobe.com/products/flash-builder.html]]></description>
			<content:encoded><![CDATA[<p>Adobe Flash Builder 4.5 trial is now available from Adobe.com</p>
<p>The new version includes an updated Eclipse, 3.6 SDK and mobile SDK.</p>
<p><a href="http://www.adobe.com/products/flash-builder.html">http://www.adobe.com/products/flash-builder.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fxair.org/home/2011/05/adobe-flash-builder-4-5-trial-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>6÷2(1+2)=?</title>
		<link>http://feedproxy.google.com/~r/AndyLi/~3/6KzL9K0rMJo/</link>
		<comments>http://feedproxy.google.com/~r/AndyLi/~3/6KzL9K0rMJo/#comments</comments>
		<pubDate>Sun, 01 May 2011 19:03:36 +0000</pubDate>
		<dc:creator>Andy Li</dc:creator>
				<category><![CDATA[HK Developers Feed]]></category>

		<guid isPermaLink="false">http://blog.onthewings.net/?p=1007</guid>
		<description><![CDATA[6÷2(1+2)=? It's a question that comes around in Facebook recently (I've also read it somewhere in the past). There are two major answers: "1" and "9". For "1", (Assuming “multiplication by juxtaposition” has higher precedence than regular division. Whether the assumption is true, is depending on which literature is being referred to. If you don't ...]]></description>
			<content:encoded><![CDATA[<blockquote><p>6÷2(1+2)=?</p></blockquote>
<p>It's a question that comes around in Facebook recently (I've also read it somewhere in the past). There are two major answers: "1" and "9".</p>
<p>For "1", (Assuming “multiplication by juxtaposition” has higher precedence than regular division. Whether the assumption is true, is depending on which literature is being referred to. If you don't agree on it, the answer is simply 9)</p>
<p style="padding-left: 30px;">6÷(2×(1+2))<br />
=6÷(2×3)<br />
=6÷6<br />
=1</p>
<p>For "9",</p>
<p style="padding-left: 30px;">6/2*(1+2)<br />
=6/2*3<br />
=3*3<br />
=9</p>
<p>Notice the question is interpreted differently, you can tell it from looking at the symbols. One is mathematical notation, another is program operator notation.</p>
<p>The difference between mathematics and programming shown above is that, they use different kind of symbols(operators), so they have different <a href="http://en.wikipedia.org/wiki/Order_of_operations">order of operation</a>.</p>
<div style="display:block; width:100%; height:300px;">
<div id="attachment_1008" class="wp-caption alignleft" style="width: 210px"><a href="http://blog.onthewings.net/wp-content/uploads/2011/05/google.png"><img class="size-thumbnail wp-image-1008" title="Google search result of &quot;6÷2(1+2)&quot;" src="http://blog.onthewings.net/wp-content/uploads/2011/05/google-200x200.png" alt="" width="200" height="200" /></a><p class="wp-caption-text">Google thinks that is 9. <br/><a href='http://www.google.com.hk/search?q=6%C3%B72(1+2)'>Check it yourself.</a></p></div>
<div id="attachment_1009" class="wp-caption alignleft" style="width: 210px"><a href="http://blog.onthewings.net/wp-content/uploads/2011/05/wolframalpha.png"><img class="size-thumbnail wp-image-1009" title="WolframAlpha result of &quot;6÷2(1+2)&quot;" src="http://blog.onthewings.net/wp-content/uploads/2011/05/wolframalpha-200x200.png" alt="" width="200" height="200" /></a><p class="wp-caption-text">WolframAlpha thinks that is 9. <br/><a href='http://www.wolframalpha.com/input/?i=6%C3%B72(1+2)'>Check it yourself.</a></p></div>
<div id="attachment_1010" class="wp-caption alignleft" style="width: 210px"><a href="http://blog.onthewings.net/wp-content/uploads/2011/05/IMG_20110502_022439.jpg"><img class="size-thumbnail wp-image-1010" title="Casio calculator's result on &quot;6÷2(1+2)&quot;" src="http://blog.onthewings.net/wp-content/uploads/2011/05/IMG_20110502_022439-200x200.jpg" alt="" width="200" height="200" /></a><p class="wp-caption-text">My Casio calculator thinks that is 1.</p></div>
</div>
<p>One interesting thing is, even in programming, different programming languages may have different order of operation, ie. they have different operator precedence (or <a href="http://en.wikipedia.org/wiki/Operator_associativity">operator associativity</a>). The difference is mostly on bitwise operations(eg. <strong>&lt;&lt;</strong> <strong>&amp;</strong> <strong>|</strong>), and it has been a nightmare for programmers who want to port algorithms between languages. And luckily <a href="http://haxe.org/">haXe</a>, the language I'm in love with, that outputs C++/JS/PHP and others, already abstracted the different by inserting the necessary brackets in the output automatically(<a href="http://haxe.org/manual/operators">see here</a>). So I'm happily writing codes in haXe and share the same result in different platforms <img src='http://blog.onthewings.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> 
<div class="tweetmeme_button" style="margin: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http://blog.onthewings.net/2011/05/02/six-divided-by-two-bracket-one-plus-two/"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http://blog.onthewings.net/2011/05/02/six-divided-by-two-bracket-one-plus-two/&amp;source=andy_li&amp;style=compact&amp;service=bit.ly&amp;service_api=andyli:R_620a3608de8b1566599766b2ea71c3ba&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <p><a href="http://blog.onthewings.net/?flattrss_redirect&amp;id=1007&amp;md5=057abe4ffad409ac083482ee78d55a84" title="Flattr" ><img src="http://blog.onthewings.net/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AndyLi?a=6KzL9K0rMJo:vopZOYX3LYg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AndyLi?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AndyLi?a=6KzL9K0rMJo:vopZOYX3LYg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AndyLi?i=6KzL9K0rMJo:vopZOYX3LYg:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AndyLi/~4/6KzL9K0rMJo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.onthewings.net/2011/05/02/six-divided-by-two-bracket-one-plus-two/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating generative art in haXe and OpenFrameworks (March 2011)</title>
		<link>http://feedproxy.google.com/~r/AndyLi/~3/bh9b-ZGw4ek/</link>
		<comments>http://feedproxy.google.com/~r/AndyLi/~3/bh9b-ZGw4ek/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 09:48:38 +0000</pubDate>
		<dc:creator>Andy Li</dc:creator>
				<category><![CDATA[HK Developers Feed]]></category>

		<guid isPermaLink="false">http://blog.onthewings.net/?p=986</guid>
		<description><![CDATA[It&#8217;s already the 3rd month of doing a piece of generative art everyday. Here are some selected pieces. Reused previous month&#8217;s feather code to make a sensitive plant. Backed to play with abstract geometry. I like its sketch style wooden texture. Following one gives some nice harmonic color. Replacing lines with circles, it&#8217;s now more ...]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s already the 3rd month of doing a piece of generative art everyday. Here are some selected pieces.</p>
<p>Reused previous month&#8217;s feather code to make a sensitive plant.<br />
<a href="http://www.flickr.com/photos/andy-li/5476423626/" title="20110225_210355 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5173/5476423626_2e50295c6b_z.jpg" width="640" height="360" alt="20110225_210355"></a></p>
<p>Backed to play with abstract geometry. I like its sketch style wooden texture.<br />
<a href="http://www.flickr.com/photos/andy-li/5481781064/" title="20110227_191144 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5133/5481781064_07dcdc3a48_z.jpg" width="640" height="360" alt="20110227_191144"></a></p>
<p>Following one gives some nice harmonic color.<br />
<a href="http://www.flickr.com/photos/andy-li/5498807815/" title="20110305_202302 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5293/5498807815_d126a728fa_z.jpg" width="640" height="400" alt="20110305_202302"></a><br />
<a href="http://www.flickr.com/photos/andy-li/5499403988/" title="20110305_202309 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5060/5499403988_98a347b520_z.jpg" width="640" height="400" alt="20110305_202309"></a></p>
<p>Replacing lines with circles, it&#8217;s now more saturated.<br />
<a href="http://www.flickr.com/photos/andy-li/5501779725/" title="20110306_202618 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5013/5501779725_820662a751_z.jpg" width="640" height="400" alt="20110306_202618"></a></p>
<p>Since Martin Lindelöf made available its <a href="http://www.martinlindelof.com/physics/clothx/">clothx</a> physics lib, which is based on <a href="http://murderandcreate.com/physics/">traer physics</a> for <a href="http://processing.org/">Processing</a>, I used its spring/attraction system to draw some stuff.<br />
<a href="http://www.flickr.com/photos/andy-li/5508536897/" title="20110308_193753 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5217/5508536897_7b1120995f_z.jpg" width="640" height="400" alt="20110308_193753"></a></p>
<p>It is very easy to create beautiful structures with the lib.<br />
<a href="http://www.flickr.com/photos/andy-li/5515645932/" title="20110311_031007 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5135/5515645932_240cd85dab_z.jpg" width="640" height="400" alt="20110311_031007"></a><br />
<a href="http://www.flickr.com/photos/andy-li/5515055085/" title="20110311_031333 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5173/5515055085_b8701a9391_z.jpg" width="640" height="400" alt="20110311_031333"></a></p>
<p>More organic one. Stroke size is proportional to particle speed.<br />
<a href="http://www.flickr.com/photos/andy-li/5522289682/" title="20110313_172705 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5294/5522289682_89665f29bb_z.jpg" width="640" height="400" alt="20110313_172705"></a></p>
<p>Linking up the particles.<br />
<a href="http://www.flickr.com/photos/andy-li/5525767896/" title="20110314_161400 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5175/5525767896_bc905906bf_z.jpg" width="640" height="400" alt="20110314_161400"></a></p>
<p>Sorting the particles before drawing in each frame.<br />
<a href="http://www.flickr.com/photos/andy-li/5528354133/" title="20110315_171922 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5215/5528354133_daef9f5577_z.jpg" width="640" height="400" alt="20110315_171922"></a></p>
<p>Old school generative curves. Can you hear the sound?<br />
<a href="http://www.flickr.com/photos/andy-li/5536822567/" title="20110318_214522 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5177/5536822567_739cf79c0b_z.jpg" width="640" height="400" alt="20110318_214522"></a></p>
<p>Smaller, moving strings.<br />
<a href="http://www.flickr.com/photos/andy-li/5546412590/" title="20110321_173927 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5024/5546412590_923c312766_z.jpg" width="640" height="400" alt="20110321_173927"></a></p>
<p>Fixed, more complex strings with rainbow colors.<br />
<a href="http://www.flickr.com/photos/andy-li/5549186237/" title="20110322_172246 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5173/5549186237_137cf460f2_z.jpg" width="640" height="400" alt="20110322_172246"></a></p>
<p>Scaling up.<br />
<a href="http://www.flickr.com/photos/andy-li/5552753514/" title="20110323_173620 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5059/5552753514_5950e1b6e1_z.jpg" width="640" height="400" alt="20110323_173620"></a></p>
<p>Scaling down with blood vessel colors.<br />
<a href="http://www.flickr.com/photos/andy-li/5558981478/" title="20110326_001833 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5187/5558981478_4cfef78acb_z.jpg" width="640" height="400" alt="20110326_001833"></a></p>
<p>Even more complex strings. Simply drawing them down but not painting them frame-by-frame like the previous ones.<br />
<a href="http://www.flickr.com/photos/andy-li/5568080040/" title="20110328_195131 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5260/5568080040_467715ffc6_z.jpg" width="640" height="480" alt="20110328_195131"></a><br />
<a href="http://www.flickr.com/photos/andy-li/5571655848/" title="20110329_232009 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5179/5571655848_3cfe3897f3_z.jpg" width="640" height="480" alt="20110329_232009"></a><br />
<a href="http://www.flickr.com/photos/andy-li/5572234422/" title="20110330_033407 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5225/5572234422_bca4c5598d_z.jpg" width="640" height="480" alt="20110330_033407"></a></p>
<p>Colored version. It looks like coral. Maybe the algorithm is similar to coral&#8217;s growth.<br />
<a href="http://www.flickr.com/photos/andy-li/5577331364/" title="20110331_235757 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5178/5577331364_78aa7cff0d_z.jpg" width="640" height="480" alt="20110331_235757"></a><br />
<a href="http://www.flickr.com/photos/andy-li/5579192901/" title="20110401_223752 by on_the_wings, on Flickr"><img src="http://farm6.static.flickr.com/5091/5579192901_244bb40eb2_z.jpg" width="640" height="480" alt="20110401_223752"></a>
<div class="tweetmeme_button" style="margin: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http://blog.onthewings.net/2011/04/04/creating-generative-art-in-haxe-and-openframeworks-march-2011/"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http://blog.onthewings.net/2011/04/04/creating-generative-art-in-haxe-and-openframeworks-march-2011/&amp;source=andy_li&amp;style=compact&amp;service=bit.ly&amp;service_api=andyli:R_620a3608de8b1566599766b2ea71c3ba&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <p><a href="http://blog.onthewings.net/?flattrss_redirect&amp;id=986&amp;md5=d5bccf8ad7e2cf975c04864b69055783" title="Flattr" ><img src="http://blog.onthewings.net/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AndyLi?a=bh9b-ZGw4ek:-gfPV9ywpyk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/AndyLi?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/AndyLi?a=bh9b-ZGw4ek:-gfPV9ywpyk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/AndyLi?i=bh9b-ZGw4ek:-gfPV9ywpyk:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AndyLi/~4/bh9b-ZGw4ek" height="1" width="1"/>
