<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">

    <channel>
    
    <title>Metaphorical.net</title>
    <link>http://www.metaphorical.net/feed/all</link>
    <description>A notebook of William Ngan</description>
	<dc:rights>Copyright %2010</dc:rights>
	
        
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/metaphorical_all" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="metaphorical_all" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
          <title>Carousel 3D</title>
          <link>http://www.metaphorical.net/note/on/carousel_3d</link>
          <guid>http://www.metaphorical.net/note/on/carousel_3d</guid>
		  		            <description><![CDATA[<p>Another piece of old actionscript. This one is a bit more complex, and requires Flash 10.</p>

<p>There are 2 main components: <code>SpinSprite</code>, which defines a sprite that can spin around a center point; and <code>Carousel</code>, which is a container for SpinSprites and rotate them accordingly.</p>

<p>First create a SpinSprite and define its properties (<code>radius</code>, <code>speed</code>, <code>hasRotation</code>, etc). Then create a Carousel and add a "cell", for example:</p>

<blockquote>
  <p><code>carousel.addCell(spin_sp, content, true);</code></p>
</blockquote>

<p>Finally, you can spin the carousel like this:</p>

<blockquote>
  <p><code>carousel.direction -= carousel.sub_angle;</code></p>
</blockquote>

<p>Obviously this is a barebone implementation of a carousel. I will leave it to you to implement z-depth sorting, selection event, and so on. See the included mxml for an example. Have fun!</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img91_content.jpg" /></p>]]></description>
		            <dc:date>2010-02-19 23:27:56</dc:date>
        </item>
        
        
        <item>
          <title>Cross Fade Sprite</title>
          <link>http://www.metaphorical.net/note/on/cross_fade_sprite</link>
          <guid>http://www.metaphorical.net/note/on/cross_fade_sprite</guid>
		  		            <description><![CDATA[<p>Here is one of few old actionscripts, which I just dust off, clean up, and share here.</p>

<p>This is a simple class that generates cross-fade effect. Just create an instance:</p>

<blockquote>
  <p><code>var cross:CrossFadeSprite = new CrossFadeSprite( sprite1, sprite2 );</code></p>
</blockquote>

<p>Then when you call <code>flip()</code> function, sprite1 will fade to sprite2, and vice versa. The <code>current</code> property stores the sprite that's currently visible.</p>

<p>You can also change the <code>minAlpha</code>, <code>maxAlpha</code>, and <code>speed</code> properties to customize the fade effect. See the included mxml file for an example.</p>

<p>That's it! Simple and convenient.</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img90_content.jpg" /></p>]]></description>
		            <dc:date>2010-02-19 23:10:57</dc:date>
        </item>
        
        
        <item>
          <title>Taking a line for a walk</title>
          <link>http://www.metaphorical.net/note/on/taking_a_line_for_a_walk</link>
          <guid>http://www.metaphorical.net/note/on/taking_a_line_for_a_walk</guid>
		  		            <description><![CDATA[<p>Paul Klee once said drawing is taking a line for a walk. Zen artists believed that the vitality of a line can express spiritual insights. But in the domain of digital art, the line often remains a crude, perhaps anti-aliased, element.</p>

<p>These code examples explore the the craft of a line in Java/Processing code. Let's take it for some algorithmic walks.</p>

<p>The <a href="http://www.metaphorical.net/media/download/31">source code</a> includes several packages of Java classes, and my home-brew Vector math library (probably inefficient for serious graphics need.) I recommend using an IDE such as Eclipse to try them out.</p>

<p>Also see the <a href="http://www.metaphorical.net/media/show/163">related video</a>, and a related work called <a href="http://www.metaphorical.net/note/on/mosumi">Mosumi</a>.</p>

<blockquote>
  <p>P.S. I will be speaking about this and other things in the <a href="http://2010.lovebytes.org.uk/event.php?ref=1002">We Love Techonology</a> conference in Sheffield UK next week.</p>
</blockquote>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img89_content.jpg" /></p>]]></description>
		            <dc:date>2010-02-04 00:05:10</dc:date>
        </item>
        
        
        <item>
          <title>Mosumi</title>
          <link>http://www.metaphorical.net/note/on/mosumi</link>
          <guid>http://www.metaphorical.net/note/on/mosumi</guid>
		  		            <description><![CDATA[<p>Mosumi videos, images, and code are here:</p>

<blockquote>
  <ul>
  <li>Videos at <a href="http://vimeo.com/channels/77791">Vimeo</a> </li>
  <li>High-res images at <a href="http://www.flickr.com/photos/williamngan/sets/72157623147662528/detail/">Flickr</a> </li>
  <li>Source code of <a href="http://www.metaphorical.net/note/on/taking_a_line_for_a_walk">the processes</a> </li>
  </ul>
</blockquote>

<p>I travelled to China last year (a foreigner indeed in his "motherland") and rediscovered many things. </p>

<p>One of these things, Chinese ink painting along with its spirit and craft, continues to make me wonder:</p>

<p>Can the vitality of form express spiritual insights?</p>

<p>At which points do mountains and trees become humanistic?</p>

<p>How to take insights from traditional craft into digital craft?</p>

<p>It is emptiness that turns clay into pottery – what does that really mean?</p>

<p>Inspired by these, I decided to start with </p>



<p>a simple line, and to explore the craft of this simple element in code.</p>

<p>So Mosumi is, in many ways, more meditative than expressive. </p>

<p>It is probably unfortunate that the line looked like brushstroke, a predictable form, bounded by what I saw and thought. But it also has a strange quality about it, a humanistic expression in square pixels, a form that is unlikely to exist on paper yet it could well be there. </p>

<p>To me, these tensions and conflicts are almost zen-like. But I also know that I’m thinking too much.</p>

<p>So here I documented some initial results, in <a href="http://vimeo.com/channels/77791">videos</a> and <a href="http://www.flickr.com/photos/williamngan/sets/72157623147662528/detail/">images</a>. This work is also for the <a href="http://2010.lovebytes.org.uk/event.php?ref=1010">Code Craft</a> exhibition in Lovebytes 2010.</p>

<p>Let’s see how it may go from here.</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img88_content.jpg" /></p>]]></description>
		            <dc:date>2010-02-03 02:02:16</dc:date>
        </item>
        
        
        <item>
          <title>Merry Christmas 2009</title>
          <link>http://www.metaphorical.net/note/on/merry_christmas_2009</link>
          <guid>http://www.metaphorical.net/note/on/merry_christmas_2009</guid>
		  		            <description><![CDATA[<p>How time flies! Year 2010 is almost upon us, and the holiday season proves to be one of the busiest for me and wife. In-laws visiting, projects finishing, racks of lamb marinating...</p>

<p>A little <a href="http://www.metaphorical.net/media/show/160">video</a> (does it look like wreath or broccoli?) -- made with processing, music by Debussy --  to wish you a Merry Christmas and a Happy New Year.</p>

<p>Love, Peace, and Champagne!</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img87_content.jpg" /></p>]]></description>
		            <dc:date>2009-12-24 04:48:52</dc:date>
        </item>
        
        
        <item>
          <title>Kubist</title>
          <link>http://www.metaphorical.net/note/on/kubist</link>
          <guid>http://www.metaphorical.net/note/on/kubist</guid>
		  		            <description><![CDATA[<p>I have always wanted to make something with Lee Byron's fantastic <a href="http://www.leebyron.com/else/mesh/">Mesh library</a>, but, like many things that I plan to do, it has taken me a while to actually sit down and do it.</p>

<p>My first experiment is called <em>Kubist</em>, which transforms an ordinary image into a facetted, cubism-like composition. </p>

<p>In this sketch, the triangles of the meshes are random and unanimated, so that I can focus on the effects of sizes, blends, and sequences. </p>

<p>Next, I should try multiple viewpoints and animations -- whenever I can actually sit down and do it!</p>

<p>Hope you will enjoy a few <a href="http://www.metaphorical.net/media/show/153">sample compositions here</a>, and the Java/Processing <a href="http://www.metaphorical.net/media/download/30">souce code</a>  (yet to be optimized).</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img86_content.jpg" /></p>]]></description>
		            <dc:date>2009-08-24 00:00:44</dc:date>
        </item>
        
        
        <item>
          <title>Layer Compose</title>
          <link>http://www.metaphorical.net/note/on/layer_compose</link>
          <guid>http://www.metaphorical.net/note/on/layer_compose</guid>
		  		            <description><![CDATA[<p>This <a href="http://www.metaphorical.net/tag/on/adobe_script">Adobe Illustrator script</a> automatically merge <em>content</em> and <em>template</em> layers to generate compositions. Oh joy!</p>

<p><strong>Template layers</strong>: these are the fixed elements. For example, in a webpage layout, the header and footer may stay constant.</p>

<p><strong>Content layers</strong>: these are the dynamic elements. For example, they may show design options of a webpage layout.</p>

<p>First, change all template layers' names. They should start with an underscore ( <code>_xyz</code> ). </p>

<p>Then simply run the script (<code>File &gt; Scripts &gt; Other Scripts...</code> or use shortcut key <code>Ctrl-F12</code>). </p>

<p>The zip file includes a test file (<code>test.pdf</code>) for you to try out. The script is only briefly tested in Illustrator CS3 (in Win XP). Let me know if you encounter any bugs.</p>

<blockquote>
  <p>Want to export each layer as an image or pdf then? Try this <a href="http://www.metaphorical.net/note/on/layer_export">script</a>.</p>
</blockquote>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img85_content.jpg" /></p>]]></description>
		            <dc:date>2009-07-09 00:26:38</dc:date>
        </item>
        
        
        <item>
          <title>Layer Export</title>
          <link>http://www.metaphorical.net/note/on/layer_export</link>
          <guid>http://www.metaphorical.net/note/on/layer_export</guid>
		  		            <description><![CDATA[<p>A little <a href="http://www.metaphorical.net/tag/on/adobe_script">Adobe Illustrator script</a> to ease those repetitive strain sufferings...</p>

<p>This script automatically exports each layer in an Illustrator file as a separate PNG or PDF, in 3 easy steps:</p>

<ol>
<li><p>Layer names will become the file names. Rename if needed.</p></li>
<li><p>Run the script (<code>File &gt; Scripts &gt; Other Scripts...</code> or use shortcut key Ctrl-F12). </p></li>
<li><p>Find the exported files in the same folder as your original Illustrator file.</p></li>
</ol>

<p>A test Illustrator file (<code>test.pdf</code>) is included in the zip. Give it a try!</p>

<p>Only briefly tested in Illustrator CS3 (in Win XP). Let me know if you encounter any bugs.</p>

<blockquote>
  <p>P.S. You may also like this <a href="http://www.metaphorical.net/note/on/layer_compose">Layer Compose</a> script, or check out other <a href="http://www.metaphorical.net/tag/on/adobe_script">illustrator scripts</a>.</p>
</blockquote>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img84_content.jpg" /></p>]]></description>
		            <dc:date>2009-07-08 00:22:37</dc:date>
        </item>
        
        
        <item>
          <title>New Newspeak</title>
          <link>http://www.metaphorical.net/note/on/new_newspeak</link>
          <guid>http://www.metaphorical.net/note/on/new_newspeak</guid>
		  		            <description><![CDATA[<p>Newspeak is the weird official language of English Socialism (Ingsoc) in George Orwell’s 1984. Its purpsose is:</p>

<p>"not only to provide a medium of expression for the world-view and mental habits proper to the devotees of Ingsoc, but to make all other modes of thought impossible."</p>

<p>It has three categories: A, B, and C vocabulary.</p>

<p>A vocabulary are words used in everyday life, but stripped down and then recombined (knife, speedful, doublepluscold, undark).</p>

<p>B vocabulary are words constructed for political purposes (goodsex, thinkpol, duckspeaker).</p>

<p>C vocabulary are obscure technical terms without reference to any scientific thinking.</p>

<p>But that was in 1984.</p>

<p>In our 21st century, the world speaks New Newspeak. It is conceived so as not to diminish </p>



<p>the range of thoughts, but to extend and obscure them. I would categorize them as such:</p>

<p>A vocabulary are pleasant words that makes you desire more than you need. (organic, design, vitamin)</p>

<p>B vocabulary are web 2.0 words that sound good, for now. (google, twitter, bing)</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img68_content.jpg" /></p>]]></description>
		            <dc:date>2009-07-01 01:44:53</dc:date>
        </item>
        
        
        <item>
          <title>Tween Sprite</title>
          <link>http://www.metaphorical.net/note/on/tween_sprite</link>
          <guid>http://www.metaphorical.net/note/on/tween_sprite</guid>
		  		            <description><![CDATA[<p>Tweening, a.k.a. <em>Linear Interpolation</em>, a.k.a. <em>Lerp</em>, creates animation by moving a value between start and end. </p>

<p>Tweening is quite easy, but managing all the "tweens" in a scene is often a humdrum task.</p>

<p>TweenSprite is a simple tweening class for Actionscript 3. It allows you to animate multiple properties of a sprite, and choreograph the movements by changing time steps and loops.</p>

<p>Some pseudo-code to help you get started:</p>

<p>Create a new TweenSprite:</p>

<blockquote>
  <p>var sp = new TweenSprite()</p>
</blockquote>

<p>Add some content or draw some graphics into it:</p>

<blockquote>
  <p>sp.graphics.drawRect(...)</p>
</blockquote>



<p>Get a tween setting object:</p>

<blockquote>
  <p>var setting:Object = TweenSprite.setting( <em>start_value</em>, <em>end_value</em>, <em>steps</em>, <em>easing-constant</em>, <em>loops</em> );</p>
</blockquote>

<p>Add as many tweens as you like:</p>

<blockquote>
  <p>sp.addProp( setting, PROP-ROTATION);
  sp.addProp( setting, PROP-ETC );</p>
</blockquote>

<p>Start the animation:</p>

<blockquote>
  <p>sp.start();</p>
</blockquote>

<p>That's it! Download the file for the source code and example. </p>

<p>You can also find additional information on tweening and easing functions online. Robert Penner has a <a href="
http://www.robertpenner.com/easing/">great tutorial</a> on this topic.</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img46_content.jpg" /></p>]]></description>
		            <dc:date>2009-06-11 00:09:45</dc:date>
        </item>
        
        
        <item>
          <title>六四 - 二十年後</title>
          <link>http://www.metaphorical.net/note/on/june_4_after_20_years</link>
          <guid>http://www.metaphorical.net/note/on/june_4_after_20_years</guid>
		  		            <description><![CDATA[<blockquote>
  <p>An illustration (<a href="http://www.metaphorical.net/media/show/117">shared here</a>) and some thoughts on the June 4th Movement in Beijing 20 years ago. Details of the June 4th Movement can be found at <a href="http://www.openpast.com">Open Past</a>.</p>
</blockquote>

<p>一九八九年六月四日，清早醒來，仍聽到新聞報導聲，父母仍坐在客廳看着電視，神情疲倦、哀傷、憤怒。</p>

<p>那年我十一歲，小學六年級。那年我第一次參加遊行，第一次感受社會動盪，第一次體會生命的意義和價值。我們這一代，在這二十年與中國一起成長的孩子和青年，也許可稱作「六四世代／Generation 6.4.」。</p>

<p>今年的中國已不是二十年前的中國，我們也不是二十年前的孩子。</p>

<p>至今回首二十年前的初夏，記得的不是死傷數字，不是標語，而是一種體認──對民族和社會的承擔，自身良知的省察，擇善固執的勇氣。</p>

<p>有人說，中國現今穩定繁榮，八九年春夏交際的那場政治風波，不談也罷。這種「稻草人」邏輯，不</p>



<p>單埋沒了歷史，也埋沒了良心。</p>

<p>管子說：衣食足，然後知榮辱。穩定繁榮，不是文明社會的終點，而是起點。嚴正對待事實，提昇國家文化，是社會領袖義不容辭的責任。</p>

<p>反觀現今中國，繁榮背後，被剝削侵犯的人，特別是孩子和女性，不可勝數。很多人面對社會的不公義，只有漠視、抱怨、以至從中取利；社會很多的「精英」，爭逐名利，富貴則淫，貧賤則移，威武則屈，延續以至鞏固了社會中嚴酷不公的制度。</p>

<p>八九年學生的訴求──民主改革，人權，自由，反貪污──二十年後仍沒有結果，反有倒退。</p>

<p>或許當年學生的行為有衝動之處，有錯失的地方，或許他們真的太傻太天真，但他們在廣場和平集會，追求的是對國家未來的期盼，一種民族未有的良知。罪總不至於死則肝腦塗地，生則監禁流亡？二十年過去，為什麼仍要混淆歷史，封殺言論，種疑於真相，更使死者不得公道，流亡者不得回國，使人民對六四事件禁若寒蟬？</p>

<p>民主進程，可以爭辯和妥協；自由人權，可以一步步走；但六四事件，黑白分明，為對死者和受難者交待，為對歷史和良心負責，我們必須鼓起道德勇氣，一寸也不能退讓。</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img43_content.jpg" /></p>]]></description>
		            <dc:date>2009-06-04 00:10:30</dc:date>
        </item>
        
        
        <item>
          <title>Alarm Bed</title>
          <link>http://www.metaphorical.net/note/on/alarm_bed</link>
          <guid>http://www.metaphorical.net/note/on/alarm_bed</guid>
		  		            <description><![CDATA[<p>First, there was the rooster. Then, mechanical clock, electronic clock, snoozable clock, runaway clock. Yet they are insufficient.</p>

<p>Because dreams — dry or wet, scary or sweet — are far more alluring than the routines that await modern men and women in the morning. Let's hit that snooze button one more time...</p>

<p>But what is that creaking noise? What is that feeling of gravity? It is the bed rotating, 10 degrees per second.</p>

<p>The best alarm clock is ambition. The second best is this most ingenious invention of mine. </p>

<blockquote>
  <p>And, like this insubstantial pageant faded,<br />
  Leave not a rack behind. We are such stuff<br />
  As dreams are made on; and our little life<br />
  Is rounded with a sleep.<br />
  — The Tempest, Act 4, Scene 1</p>
</blockquote>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img42_content.jpg" /></p>]]></description>
		            <dc:date>2009-05-05 00:57:26</dc:date>
        </item>
        
        
        <item>
          <title>Curly Frame</title>
          <link>http://www.metaphorical.net/note/on/curly_frame</link>
          <guid>http://www.metaphorical.net/note/on/curly_frame</guid>
		  		            <description><![CDATA[<p>Found another piece of forgotten code inside a dusty folder. Let's clean it up.</p>

<p>It displays a distorted frame that interacts with cursor position. It signifies the abstract emotional state of a drunken mermaid in love... Just kidding.</p>

<p>Originally created for a Hong Kong TV production company, in time immemorial.</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img41_content.jpg" /></p>]]></description>
		            <dc:date>2009-04-14 00:32:23</dc:date>
        </item>
        
        
        <item>
          <title>Bezier Path</title>
          <link>http://www.metaphorical.net/note/on/bezier_path</link>
          <guid>http://www.metaphorical.net/note/on/bezier_path</guid>
		  		            <description><![CDATA[<p>Just updated a piece of old code into Actionscript 3 / Flex.</p>

<p>This is a simple <a href="http://www.ddj.com/cpp/184403417">forward-differencing</a> algorithm that animates a point moving along a bezier curve.</p>

<p>Drag any of the control point or end points to modify the bezier curve.</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img40_content.jpg" /></p>]]></description>
		            <dc:date>2009-04-11 09:08:46</dc:date>
        </item>
        
        
        <item>
          <title>Metaphorical.net V4</title>
          <link>http://www.metaphorical.net/note/on/metaphorical_net_v4</link>
          <guid>http://www.metaphorical.net/note/on/metaphorical_net_v4</guid>
		  		            <description><![CDATA[<p>Now I can check off one of my New Year's resolutions. A refresh of metaphorical.net has been completed.</p>

<p>Metaphorical <a href="http://metaphorical.net/note/id/36">v1</a> (2002) was basically an experiment in Flash; <a href="http://metaphorical.net/note/id/37">v2</a> (2004) was a rebellion against usability. <a href="http://metaphorical.net/note/id/39">v3</a> (2006) was a blog-like site based on WordPress, which didn't work for me.</p>

<p>The new version has the format of a notebook, and I think this structure would well fit my wandering mind. Since WordPress didn't work for me, I also created a custom editor using <a href="http://codeigniter.com">Codeigniter</a> (a PHP framework) and <a href="http://www.adobe.com/products/flex/">Flex</a>. Fun!</p>

<p>The new design is glossless, clutterless, indeed boring — which is, at present, my cup of tea. Show one thing at a time, preferably without visual effects, without scrolling.</p>

<p>Above all, this new site is an attempt to revive a sense of self within myself. I have been quite lost in the jungles of coporate America.</p>

<p>Shall begin by cleaning up the old acts -- old projects, old writings, old code -- archiving and sharing them.</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img38_content.jpg" /></p>]]></description>
		            <dc:date>2009-04-05 15:53:24</dc:date>
        </item>
        
        
        <item>
          <title>About Metaphorical.net</title>
          <link>http://www.metaphorical.net/note/on/about_metaphorical_net</link>
          <guid>http://www.metaphorical.net/note/on/about_metaphorical_net</guid>
		  		            <description><![CDATA[<p>Oh, the moments of inspiration and beauty! Strange visions and thoughts float above my head like soap bubbles. They lift up my spirit, startle my mind, then they pop.</p>

<p>Indeed, modern life is full of steely obligations -- meeting, cleaning, cooking, flossing -- from which I cannot turn away. The moments of inspiration, interposed between the muddles of life, are too soon extinguished and forgotten.</p>

<p>Gradually, I shape my sense of self to the shape of bell curve, align my tongue to the bullet-point poetry of business, and optimize my heart rate to the pace of treadmill. Life is once again reduced to rushed meals, bad coffee, bullshits to-and-fro, and a sore spine. </p>

<p>To let a day go by without intellectual excitement, without a passionate attitude for art and beauty, without an eager appreciation of lovely useless little things around us… is to surrender myself, alas, to the "zombification" of the heart. </p>



<p>Metaphorical.net is a notebook that collects and extends strange thoughts and passions. </p>

<p>I learn best through experiments and sketches. I create, refine, discard, sift, undo and redo. I seek to impart lightness and intelligence to a multiplicity of things and ideas.</p>

<p>So I must echo Montaigne, who said of his assays: </p>

<blockquote>
  <p>I myself am the subject of my book: it is not reasonable that you should employ your leisure on a topic so frivolous and so vain.</p>
</blockquote>

<p>Related notes on: </p>

<ul>
<li><a href="http://metaphorical.net/note/id/38">Metaphorical.net V4</a></li>
<li><a href="http://metaphorical.net/note/id/34">William Ngan</a></li>
<li><a href="http://metaphorical.net/note/id/13">RSS feeds</a></li>
</ul>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img15_content.jpg" /></p>]]></description>
		            <dc:date>2009-04-01 00:28:26</dc:date>
        </item>
        
        
        <item>
          <title>RSS Feeds</title>
          <link>http://www.metaphorical.net/note/on/rss_feeds</link>
          <guid>http://www.metaphorical.net/note/on/rss_feeds</guid>
		  		            <description><![CDATA[<p>Metaphorical.net has new RSS feeds! RSS feeds let you subscribe to content updates. Learn more about RSS <a href="http://news.bbc.co.uk/2/hi/help/3223484.stm">here</a>.</p>

<h3>Simple</h3>

<p>Add any of these urls to your RSS readers.</p>

<ul>
<li><a href="http://feeds2.feedburner.com/metaphorical_all">All of metaphorical.net</a></li>
<li><a href="http://feeds2.feedburner.com/metaphorical">Works only</a></li>
<li><a href="http://feeds2.feedburner.com/metaphorical_words">Writings only</a></li>
</ul>

<h3>Advance</h3>

<p>But wait, there is more...</p>

<p>If you are interested only in specific themes, subscribe to them using this url format: </p>

<blockquote>
  <p>http://metaphorical.net/feed/theme/{<strong>name</strong>}</p>
  
  <p>For example: </p>
  
  <ul>
  <li><a href="http://metaphorical.net/feed/theme/craft">feed/theme/code</a></li>
  <li><a href="http://metaphorical.net/feed/theme/idea">feed/theme/idea</a></li>
  </ul>
</blockquote>

<p>If you are interested only in specific tags, subscribe to them using this url format: </p>



<blockquote>
  <p>http://metaphorical.net/feed/tag/{<strong>name</strong>}</p>
  
  <p>For example: </p>
  
  <ul>
  <li><a href="http://metaphorical.net/feed/tag/processing">feed/tag/processing</a></li>
  <li><a href="http://metaphorical.net/feed/tag/william">feed/tag/william</a></li>
  </ul>
</blockquote>

<p>See the list of tags used in metaphorical.net <a href="http://metaphorical.net/tag">here</a>.</p>

<p>If you prefer minimalism, add <strong>/simple</strong> to receive only titles and short excerpts.</p>

<blockquote>
  <p>For example: </p>
  
  <ul>
  <li><a href="http://metaphorical.net/feed/all/simple">feed/all/simple</a></li>
  <li><a href="http://metaphorical.net/feed/theme/muse/simple">feed/theme/muse/simple</a></li>
  <li><a href="http://metaphorical.net/feed/tag/flash/simple">feed/tag/flash/simple</a></li>
  </ul>
</blockquote>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img13_content.jpg" /></p>]]></description>
		            <dc:date>2009-03-26 15:46:43</dc:date>
        </item>
        
        
        <item>
          <title>Specify!</title>
          <link>http://www.metaphorical.net/note/on/specify</link>
          <guid>http://www.metaphorical.net/note/on/specify</guid>
		  		            <description><![CDATA[<p>Blueprints and visual specifications, how tedious, how tiresome! Countless days wasted drawing those stoic lines and numbers!</p>

<p>So I wrote a quick illustrator script that semi-automate the process. This is a proof-of-concept, not a complete solution, but I hope you’ll still find it useful.</p>

<h4>Usage 1:</h4>

<p>Select one object and run the script (<code>File &gt; Scripts &gt; Other Scripts…</code> or use shortcut key <code>Ctrl-F12</code>). Confirm the orientation of the measurement. This will specify the width or height of the object.</p>

<h4>Usage 2:</h4>

<p>Select two objects and run the script. This will specify the horizontal or vertical gap between the two objects.</p>

<p>There are a lot of limitations, and a few potentials --</p>



<ol>
<li><p>Only tested on Adobe CS3. Hope CS4 will work. Not sure about earlier versions.</p></li>
<li><p>Currently measurements are rounded to integer. If you need decimal points, edit the script and change the line<br />
<code>var decimals = 0</code>;<br />
For example, to add 2 decimals:<br />
<code>var decimals = 2;</code></p></li>
<li><p>Font and line style cannot be customized yet.</p></li>
<li><p>UI is ugly. I would like to have a modaless dialog box, but encountered some weird bugs. Once Adobe has a more stable version of PatchPanel, I should further develop the UI.</p></li>
<li><p>Fixed. Based on the ruler unit setting, it will now measure objects in inch, cm, mm, pixel, point, or pica accordingly. You may want to add decimal points if you are measuring in inch or cm (see 2nd bullet above).</p></li>
<li><p>Anything else? Write a comment.</p></li>
</ol>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img26_content.jpg" /></p>]]></description>
		            <dc:date>2009-02-11 20:10:51</dc:date>
        </item>
        
        
        <item>
          <title>Crystal Ball</title>
          <link>http://www.metaphorical.net/note/on/crystal_ball</link>
          <guid>http://www.metaphorical.net/note/on/crystal_ball</guid>
		  		            <description><![CDATA[<p>Stir up the snow by moving the cursor!</p>

<p>The source code includes an algorithm to map points on a spherical surface (see <code>calcPoint</code> in source code). It provides a quick and easy way to create the confetti-in-crystal-ball effect without going into another dimension. After all, Christmas is tomorrow.</p>

<p>May I wish you a Merry Christmas 2008. Peace on Earth.</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img1_content.jpg" /></p>]]></description>
		            <dc:date>2008-12-24 19:48:11</dc:date>
        </item>
        
        
        <item>
          <title>Emperor of Kowloon</title>
          <link>http://www.metaphorical.net/note/on/emperor_of_kowloon</link>
          <guid>http://www.metaphorical.net/note/on/emperor_of_kowloon</guid>
		  		            <description><![CDATA[<p>The Emperor of Kowloon is dead. He was once a peasant, then an unknown madman, at last a king.</p>

<p>Imagine Hong Kong in a time-lapsed movie: tall buildings sprouted upon landfills, people multiplied like fungus under subtropical heat, Mercedes jammed the roads, smog and hurricanes, came and went. Can you also see the Emperor's graffiti flickered, here and there?</p>

<p>For 50 years, the city must have been to him like an eternal SARS scene. A world silenced. Masked people. Nervous and discriminating eyes. A great city is always a great solitude, and to him, a great canvas as well.</p>

<p>For 50 years, he had written on walls and poles, in broad calligraphic strokes, the same nonsense:</p>

<blockquote>
  <p>Kowloon Emperor. New China Emperor. Chinese-British Emperor. Tsang Tsou Choi...</p>
</blockquote>

<p>His calligraphy has a complex and strange charm: repetitious, obsessive, pompous, </p>



<p>childish. It is the antithesis of a pragmatic and fickle city.</p>

<p>The police used to charge him with vandalism, but now the government wants to preserve his scribbles as "cultural heritage".</p>

<p>During his last days in the hospital, doctors and nurses all hailed him as the Emperor of Kowloon. "Ah, Emperor, it’s time for lunch!" said the nurse.</p>

<p>Who among us can radiate such majestic presence? Is it not why Mencius said a great man is he who does not lose the child’s heart?</p>

<p>He was more lovable than the Chairman of China, more genuine than the Chief of Hong Kong, and more buoyant and steadfast than all of us. I shall miss him dearly.</p>
<p><img src="http://www.metaphorical.net/asset/images/work/content/img81_content.jpg" /></p>]]></description>
		            <dc:date>2007-09-20 22:52:02</dc:date>
        </item>
        
        
    </channel>
</rss>
