<?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>Scott builds Software &#187; Apps</title>
	<atom:link href="http://scottpenberthy.com/category/apps/feed/" rel="self" type="application/rss+xml" />
	<link>http://scottpenberthy.com</link>
	<description>Musings on iPhone, Flash and the Cloud</description>
	<lastBuildDate>Tue, 28 Jun 2011 05:02:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fixing Time Machine Permission Errors</title>
		<link>http://scottpenberthy.com/2011/01/29/fixing-time-machine-permission-errors/</link>
		<comments>http://scottpenberthy.com/2011/01/29/fixing-time-machine-permission-errors/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 12:21:50 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[os/x]]></category>
		<category><![CDATA[time machine]]></category>

		<guid isPermaLink="false">http://scottpenberthy.com/?p=682</guid>
		<description><![CDATA[Scott explains how he fixed a broken Time Machine that refused to restore a directory on OS/X 10.6 after complaining about write permissions on the target drive.]]></description>
			<content:encoded><![CDATA[<p>This morning I inadvertently switched git repositories before committing my changes to git &#8212; several days of work were instantly wiped out.    No problem, I told myself, I&#8217;ll use Time Machine on my Mac.  I backup regularly.  I launched the Star Wars view, selected my directory, and clicked the restore button.</p>
<p>It failed.  </p>
<p>Time Machine complained about write permissions.  Nothing was restored.  My heart skipped a beat.  After Googling around for a few hours and trying all sorts of things, I finally got it to work.  The result is documented here just in case you run into the same issue.  I hope it saves you time!</p>
<h2>Fixing a busted Time Machine</h2>
<p>First, go to the very top of your directory tree where all disks are mounted.  Make sure your backup drive is attached and alive.</p>
<pre>
% cd /Volumes
</pre>
<p>Look for the volume that represents your backup drive.  cd to that:</p>
<pre>
%cd ScottBackup
%cd Backups.backupdb
</pre>
<p>Now start looking through the mount point, shown here as /Volumes/ScottBackup/Backups.backupdb.  You&#8217;ll notice that the directory tree begins with the name of your computer, followed by a set of directories, each of them named with a timestamp.  Mine look like this:</p>
<pre>
2011-01-11-003733/            2011-01-29-030503/
</pre>
<p>These are in the format of YYYY-MM-DD-time.  Pick one that you want to restore, and cd to that directory.  Here I choose a backup at 3:05am on January 29th:</p>
<pre>
% cd 2011-01-29-030503
</pre>
<p>The top level directory should look like your hard drive:</p>
<pre>
% ls
Macintosh HD/
</pre>
<p>Surf through these directories.  It should mirror your existing drive.  Under the covers, however, Mac OS/X seems to be hacking the file system.  The files don&#8217;t actually exist in multiple copies.  Instead, they&#8217;re layered into a database and made to appear as though they&#8217;re in one piece.  No matter.</p>
<p>Find the directory you want to restore.  Now comes the tricky part.</p>
<p>First, create a tarball of your disk and place it on ~/Desktop.  Let&#8217;s assume for this example that my directory is /Users/spenberthy/myapp/lostdir:</p>
<pre>
% cd Users/spenberthy/myapp
% tar cfvz ~/Desktop/lostdir.tar.gz lostdir
</pre>
<p>This will take a bit of time for a large directory.  You&#8217;ll hear your backup disk grind as OS/X reassembles all the files, reads them, and stuffs them into the tarball.</p>
<p>Now get out of there.  Move to your desktop:</p>
<pre>
% cd ~/Desktop
</pre>
<p>Decide where you want to restore the files, then move there:</p>
<pre>
% cd ~/myapp
</pre>
<p>For the first pass, unload the tarball onto your hard drive:</p>
<pre>
% tar xfvz ~/Desktop/lostdir.tar.gz
</pre>
<p>You&#8217;ll be greeted with numerous permission errors.  Ignore them.  We&#8217;re almost there.  If you list the files that you restored using &#8220;ls -l&#8221;, you&#8217;ll notice something odd:</p>
<pre>
% ls -l
total 22800
-rw-r--r--+   1 spenberthy  staff    56B Aug  5 17:17 README
drwxr-xr-x+  10 spenberthy  staff   340B Jan 29 06:46 Reachability/
drwxr-xr-x+  14 spenberthy  staff   476B Jan 29 06:46 Twitter-OAuth-iPhone/
drwxr-xr-x+   8 spenberthy  staff   272B Jan 29 06:46 certs/
</pre>
<p>See those plus signs on the left?  Well, they were new to me.  These are called <i>extended</i> permissions and use an elaborate, English-like syntax.  To see these use the command &#8220;ls -lE@&#8221;:</p>
<pre>
% ls -le@
total 22800
-rw-r--r--+   1 spenberthy  staff    56B Aug  5 17:17 README
 0: group:everyone deny write,delete,append,writeattr,writeextattr,chown
drwxr-xr-x+  10 spenberthy  staff   340B Jan 29 06:46 Reachability/
 0: group:everyone deny add_file,delete,add_subdirectory,delete_child,writeattr,writeextattr,chown
drwxr-xr-x+  14 spenberthy  staff   476B Jan 29 06:46 Twitter-OAuth-iPhone/
 0: group:everyone deny add_file,delete,add_subdirectory,delete_child,writeattr,writeextattr,chown
drwxr-xr-x+   8 spenberthy  staff   272B Jan 29 06:46 certs/
</pre>
<p>Those permissions are the problem.  Let&#8217;s get rid of them.</p>
<pre>
% chmod -R -a# 0 *
</pre>
<p>If you list the contents again, your extended permissions should be gone, as well as that mysterious plus sign:</p>
<pre>
% ls -l
total 22800
-rw-r--r--    1 spenberthy  staff    56B Aug  5 17:17 README
drwxr-xr-x   10 spenberthy  staff   340B Jan 29 06:46 Reachability/
drwxr-xr-x   14 spenberthy  staff   476B Jan 29 06:46 Twitter-OAuth-iPhone/
drwxr-xr-x    8 spenberthy  staff   272B Jan 29 06:46 certs/
</pre>
<p>You&#8217;re done!  In case you&#8217;re wondering, these files are for a new app I&#8217;m building with some friends and relatives at DX Agency.  More on that later.</p>
]]></content:encoded>
			<wfw:commentRss>http://scottpenberthy.com/2011/01/29/fixing-time-machine-permission-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interactive Earth for iPhone</title>
		<link>http://scottpenberthy.com/2010/12/22/interactive-earth-for-iphone/</link>
		<comments>http://scottpenberthy.com/2010/12/22/interactive-earth-for-iphone/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 15:34:18 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://scottpenberthy.com/?p=653</guid>
		<description><![CDATA[Scott introduces the EarthViewController, a $499 download that adds an interactive, 3d model of the earth to your app.  Data is supplied in industry standard GeoRSS format, downloaded and updated in real time.]]></description>
			<content:encoded><![CDATA[<p><a href="http://nhighland.com/contact-us"><img src="http://scottpenberthy.com/wp-content/uploads/2010/12/earthviewcontroller1.png" alt="earthviewcontroller" title="earthviewcontroller" width="600" height="500" class="aligncenter size-full wp-image-654" /></a></p>
<p>Today I was searching for code to create an interactive, 3D earth with a single UIViewController that reads from <a href="http://www.georss.org/simple">Geo RSS</a>.  It should work on an iPhone, IPod Touch, and an iPad. I need this for several apps we&#8217;re writing in 2011.  The interface should be as simple as</p>
<pre>
EarthViewController *evc = [[EarthViewController alloc] initWithFeed: @"url"]
</pre>
<p>The controller handles OpenGL, animation, touch interaction, XML parsing, favorites, glowing dots, 3d pan and 3d zoom.  The controller is fully interactive.  Pinch to zoom out, pull to zoom in.  Flick your finger and watch the globe spin.  Hit play/pause to watch it rotate in real time, updating live with a Geo RSS feed.  Make this configurable for every N seconds.  When a dot is selected, return an NSDictionary with the contents of the selected GeoRSS entry.</p>
<p>I&#8217;m offering it for $499 to offset my costs.  This includes a header file EarthViewController.h, a binary library EarthViewController.a, and a sample app with a stock RSS feed.  The OpenGL interface uses OpenGL ES 2.0 with pixel shaders for a professional, high-end look and feel. <a href="http://nhighland.com/contact-us">Contact me</a> if you need a controller like this, too!</p>
]]></content:encoded>
			<wfw:commentRss>http://scottpenberthy.com/2010/12/22/interactive-earth-for-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pixel Shaders on the iPhone</title>
		<link>http://scottpenberthy.com/2010/12/21/pixel-shaders-on-the-iphone/</link>
		<comments>http://scottpenberthy.com/2010/12/21/pixel-shaders-on-the-iphone/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 20:10:16 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://scottpenberthy.com/?p=637</guid>
		<description><![CDATA[Scott discusses his new engine for building, testing and running pixel shaders on an iPhone using OpenGL Shading Language.  These experiments could form the basis for a visualizing massive data clouds.]]></description>
			<content:encoded><![CDATA[<div id="attachment_638" class="wp-caption aligncenter" style="width: 210px"><img src="http://scottpenberthy.com/wp-content/uploads/2010/12/IMG_0597.jpg" alt="A mesh and Lomo filter on the iPhone" title="IMG_0597" width="200" class="size-full wp-image-638" /><p class="wp-caption-text">A mesh and Lomo filter on the iPhone</p></div>
<p>I recently &#8220;discovered&#8221; OpenGL Shading Language on the iPhone, or GLSL for short.  Its incredible.  The iPhone chipset compiles a C-like language on the fly, producing byte codes for the GPU.  These in turn are processed in two phases at interactive frame rates:</p>
<ol>
<li>Vertex Shader &#8211; Compute where a pixel is drawn
<li>Fragment Shader &#8211; Compute what&#8217;s drawn for each pixel
</ol>
<p>Readers will recall my experiments with Milkdrop, flash visualization, and <a href="http://scottpenberthy.com/2008/09/05/pinch-effect-in-imagemagick/">image morphing</a> math.  The OpenGL Shading Language takes it to a whole new level, stuffed into a large, orange, 740-page reference guide.  </p>
<p>I wondered if I could build a real-time visualizer on the iPhone using GLSL, applying a surface mesh to a live data feed, all at interactive rates.  This could be the groundwork for visualizing massive data clouds we&#8217;re all building these days.</p>
<p>Sure enough, you can.</p>
<p>I&#8217;m working on an app tentatively titled, &#8220;FunHouse Mirror.&#8221;  That&#8217;s probably the best way to explain what happens.  Yes, there are other copies in the App Store.  What makes mine unique is that the filters are <i>infinite</i> and <i>programmable</i>.</p>
<p>Inspired by Milkdrop, I built an engine for morphing video instead of audio.  Instead of presets, the app downloads shaders, compiles them, shows me the compiler &#038; linker results in a popup window.  If no errors are found, the engine installs the vertex and fragment shaders.  Then the magic happens.  </p>
<p>The engine senses the compass, accelerometer, orientation, GPS location and time.  It computes several waveforms on demand.  It grabs the raw bytes from the forward facing camera as a data feed. These are passed into the visualizer, which changes the visual effect like Milkdrop based on ever-changing data.  It&#8217;s stunning.</p>
<p>The result is live, interactive, morphing video.  I also find that it&#8217;s a wonderful tool for testing out shader ideas, learning how math shapes surfaces, figuring out the best way to visualize a data set.  The engine takes care of all the headache of sampling data, working with OpenGL, compiling shaders, building a mesh, establishing textures, interacting with the user, displaying views, all that rot.  </p>
<p>Instead, you can write a simple shader like this.</p>
<pre class="code">
/*
 * Roaming fisheye effect
 *
 */

vec4 FishEye()
{
        float dt = (f_parms[TIME] - 0.0*floor(f_parms[TIME]))*3.14;
        float cx = 0.4+3.0*(f_parms[ROLL]-0.08);
        float cy = 0.4+6.0*(f_parms[PITCH]+0.85);
        vec2 ray = v_texCoord-vec2(cx,cy);
        float r = length(ray);
        float theta = atan(ray.y,ray.x);
        float rs = (r*r)/0.7;
        vec2 pixel = vec2(cx+rs*cos(theta), cy+rs*sin(theta+dt*0.0));

        return texture2D(campic, pixel);
}

void main()
{
        gl_FragColor = FishEye();
}
</pre>
<p>The shader is tested and installed with a single tap.  I&#8217;m also building up a library of functions for representing Photoshop effects and convolutions, in real time, with shaders.  </p>
]]></content:encoded>
			<wfw:commentRss>http://scottpenberthy.com/2010/12/21/pixel-shaders-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learn iPhone fonts in our latest book</title>
		<link>http://scottpenberthy.com/2010/05/28/learn-iphone-fonts-in-our-latest-book/</link>
		<comments>http://scottpenberthy.com/2010/05/28/learn-iphone-fonts-in-our-latest-book/#comments</comments>
		<pubDate>Fri, 28 May 2010 22:45:02 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://scottpenberthy.com/?p=568</guid>
		<description><![CDATA[Scott describes a new iPhone book, "More iPhone Cool Projects" where he wrote a chapter on being pragmatic about fonts in OpenGL on the iPhone.]]></description>
			<content:encoded><![CDATA[<div id="attachment_569" class="wp-caption aligncenter" style="width: 310px"><a href="http://amzn.to/91YGHz"><img src="http://scottpenberthy.com/wp-content/uploads/2010/05/book2.jpg" alt="More iPhone Cool Projects" title="book2" width="300" height="300" class="size-full wp-image-569" /></a><p class="wp-caption-text">More iPhone Cool Projects</p></div>
<p>One of the more popular posts on this blog is a little list of iPhone fonts.  When I first started writing iPhone apps, I was puzzled by the lack of documentation on font names within the wonderful little devices.  My post gets visited daily by dozens of programmers who, apparently, run across the same issue.</p>
<p>My love/hate relationship with fonts began in college.  I made pizza and beer money by encoding my friends&#8217; papers into Scribe, an early word processing program. Later in grad school I learned how to hack LaTex, and once contributed a few morsels to the AAAI library for publishing AI papers.  After my PhD thesis my advisor introduced me to a mailing list at CERN,  run by a guy named Tim.  I was smitten BY his vision of a World Wide Web.   I looked for months to find Web work at IBM, and finally landed a job building a rendering engine for IBM&#8217;s first browser.  Most of my coding efforts were spent wrestling OS/2 presentation manager and&#8230; you guessed it&#8230; fonts.  They seemed inescapable.</p>
<p>Fast forward a decade and a half.  At the beginning of my iPhone career, I landed a sweet deal working on an iPhone game for DreamWorks.  We were cruising along when the creative team decided to use a custom font.  Uh oh.  I faced having to rewrite a lot of Apple&#8217;s font mechanisms with very little investment.  I didn&#8217;t have time.  I needed something practical, something that would let me build a font package quickly.</p>
<p>The project tapped some dusty memories from Scribe, LaTex, OS/2, and now OpenGL.  The end result was a quick, useful set of classes and tools for converting any TrueType font into a mipmapped OpenGL font on the iPhone.  Word spread, and soon I found myself writing a chapter from APress about the experience. </p>
<p>I hope the chapter saves you, and other programmers, tons of time in writing and building quick, lightweight font engines!</p>
]]></content:encoded>
			<wfw:commentRss>http://scottpenberthy.com/2010/05/28/learn-iphone-fonts-in-our-latest-book/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>App Fund:  Get while the gettin&#039; is good</title>
		<link>http://scottpenberthy.com/2010/02/15/app-fund-get-while-the-gettin-is-good/</link>
		<comments>http://scottpenberthy.com/2010/02/15/app-fund-get-while-the-gettin-is-good/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 17:42:35 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Apps]]></category>

		<guid isPermaLink="false">http://scottpenberthy.com/?p=552</guid>
		<description><![CDATA[The App fund will provide financing from $5k to $500k for iPad-targeted Apps.]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 89px"><a href="http://appfund.com"><img alt="The App Fund" src="http://appfund.com/appfundlogo.jpg" title="The App Fund" width="79" height="79" /></a><p class="wp-caption-text">The App Fund</p></div>
<p>I read today about <a href="http://appfund.com">The App Fund.</a>  They&#8217;re looking for killer apps that will run on an iPad, targeted at early adopters.  Funding starts at $5000 and grows to $500k for a fully funded app with marketing.  <a href="http://nhighland.com">We</a> would be happy to build the app for you!  <img src='http://scottpenberthy.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://scottpenberthy.com/2010/02/15/app-fund-get-while-the-gettin-is-good/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sausage Pad</title>
		<link>http://scottpenberthy.com/2010/02/11/sausage-pad/</link>
		<comments>http://scottpenberthy.com/2010/02/11/sausage-pad/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 02:31:13 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Apps]]></category>

		<guid isPermaLink="false">http://scottpenberthy.com/?p=546</guid>
		<description><![CDATA[Enter the Sausage Pad, using Jimmy Dean sausages instead of your fingers in cold weather.]]></description>
			<content:encoded><![CDATA[<div id="attachment_547" class="wp-caption aligncenter" style="width: 310px"><img src="http://scottpenberthy.com/wp-content/uploads/2010/02/sausage.jpg" alt="Sausage Pad" title="sausage" width="300" class="size-full wp-image-547" /><p class="wp-caption-text">Sausage Pad</p></div>
<p>Having trouble using that iPhone while wearing gloves?  No problem!  By a Jimmy Dean and slap that baby on the screen instead of your sticky mitts.  Its all the rage in South Korea.</p>
]]></content:encoded>
			<wfw:commentRss>http://scottpenberthy.com/2010/02/11/sausage-pad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad, meet Google Chrome</title>
		<link>http://scottpenberthy.com/2010/02/03/ipad-meet-google-chrome/</link>
		<comments>http://scottpenberthy.com/2010/02/03/ipad-meet-google-chrome/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 14:17:25 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Apps]]></category>

		<guid isPermaLink="false">http://scottpenberthy.com/?p=521</guid>
		<description><![CDATA[Google leaked news of their upcoming tablet yesterday.  With all the recent attacks on the iPad, Scott is reminded of a famous quote from Patton.  All Glory is fleeting.]]></description>
			<content:encoded><![CDATA[<div id="attachment_522" class="wp-caption aligncenter" style="width: 310px"><a href="http://dev.chromium.org/chromium-os/user-experience/form-factors/tablet"><img src="http://scottpenberthy.com/wp-content/uploads/2010/02/gtablet-300x224.jpg" alt="The Google Tablet" title="gtablet" width="300" height="224" class="size-medium wp-image-522" /></a><p class="wp-caption-text">The Google Tablet</p></div>
<p>Google &#8220;leaked&#8221; their tablet concept for Chrome yesterday.  The <a href="http://dev.chromium.org/chromium-os/user-experience/form-factors/tablet/tablet_concept.mp4?attredirects=0&#038;d=1">video</a> depicts an even larger format, a 24&#8243; screen laying flat on your desktop.</p>
<p>Apple is clearly #1 in the App universe.  I love writing code for their wonderful devices.  The recent, <a href="http://www.youtube.com/watch?v=lQnT0zp8Ya4">mocking attacks</a> from the Twitterverse and Blogosphere remind me of a famous quote:</p>
<div style="margin-left: 50px; margin-right: 50px; font-size: 11px; line-height: 12px">
&#8220;For over a thousand years Roman conquerors returning from the wars enjoyed the honor of triumph, a tumultuous parade. In the procession came trumpeteers, musicians and strange animals from conquered territories, together with carts laden with treasure and captured armaments. The conquerors rode in a triumphal chariot, the dazed prisoners walking in chains before him. Sometimes his children robed in white stood with him in the chariot or rode the trace horses. A slave stood behind the conqueror holding a golden crown and whispering in his ear a warning: <b>that all glory is fleeting.</b>&#8221;</p>
<p style="margin-top: 15px">
- Gen. George C. Patton
</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://scottpenberthy.com/2010/02/03/ipad-meet-google-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://dev.chromium.org/chromium-os/user-experience/form-factors/tablet/tablet_concept.mp4?attredirects=0&amp;d=1" length="11716259" type="video/mp4;" />
		</item>
		<item>
		<title>Flame It! hits the App Store</title>
		<link>http://scottpenberthy.com/2010/02/02/flame-it-hits-the-app-store/</link>
		<comments>http://scottpenberthy.com/2010/02/02/flame-it-hits-the-app-store/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 22:27:44 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[movies]]></category>

		<guid isPermaLink="false">http://scottpenberthy.com/?p=510</guid>
		<description><![CDATA[North Highland recently submitted "Flame It!" to the App store, an app that turns your breath into a fire-breathing dragon, burning and breaking phones in its path.]]></description>
			<content:encoded><![CDATA[<div id="attachment_511" class="wp-caption aligncenter" style="width: 310px"><a href="http://howtotrainyourdragon.com" title="See Deadly Nadder and other dragons from the DreamWorks film 'How To Train Your Dragon' by clicking here"><img src="http://scottpenberthy.com/wp-content/uploads/2010/02/512x512-300x300.jpg" alt="Deadly Nadder from Flame It!" title="512x512" width="300" height="300" class="size-medium wp-image-511" /></a><p class="wp-caption-text">Deadly Nadder from Flame It!</p></div>
<p>Last fall Ben Preuss called me from ThinkNerve.  Ben runs a <a href="http://thinknerve.com">fantastic little studio</a> in Brooklyn, partnering with Hollywood boutiques, producing dozens of Flash widgets and microsites.  I&#8217;ve always been an admirer of his work.</p>
<p>Ben had an iPhone project called &#8220;Flame it!&#8221; and wanted to know if <a href="http://nhighland.com">we</a> could help.  The idea was silly but fun: transform your breath into a fire-breathing dragon.  Sounds simple enough.  Today we submitted it to the App store.  Shortly we&#8217;ll submit the native French and German versions.</p>
<p>Yet, when all was said and done, the App had to be written in OpenGL, CoreAudio, C and C++. The menus were all custom, maintaining the look and feel of the movie.  Listening to your breath, processing the audio, then controlling the stereo sound and flame in real time required a bit more work than I originally thought. The audio engine is custom, as you&#8217;re recording, playing and animating sounds in a real-time loop with less than a 10msec delay.</p>
<p>After I got audio working &#8212; suspending correctly, resuming without hanging, and handling sound effects in real time &#8212; I had to create a new particle engine for the flames, inspired by the fabulous work of <a href="http://wondertouch.com">Particle Illusion</a>.  It should be able to play all effects from their library of thousands, some of which were used in 2012 and other Hollywood films.  So fun.  As the movie draws closer, new flames and particle engines will showcase the unique character of the starring Dragons.  You can even use  a multiplayer mode, flaming particles across a local WiFi network in real time using UDP.</p>
]]></content:encoded>
			<wfw:commentRss>http://scottpenberthy.com/2010/02/02/flame-it-hits-the-app-store/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Apple iPad: Apps on steroids</title>
		<link>http://scottpenberthy.com/2010/01/27/the-apple-ipad-apps-on-steroids/</link>
		<comments>http://scottpenberthy.com/2010/01/27/the-apple-ipad-apps-on-steroids/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 18:18:20 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Apps]]></category>

		<guid isPermaLink="false">http://scottpenberthy.com/?p=505</guid>
		<description><![CDATA[Here&#8217;s a first preview from GDGT. I can&#8217;t wait to buy one!  By the looks of it, Apple has created a blend of a full desktop with the App model.  Slick.
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a first preview from GDGT. I can&#8217;t wait to buy one!  By the looks of it, Apple has created a blend of a full desktop with the App model.  Slick.<br />
<div id="attachment_506" class="wp-caption aligncenter" style="width: 510px"><img src="http://scottpenberthy.com/wp-content/uploads/2010/01/tablet.jpg" alt="Steve Jobs unveils the iPad Tablet" title="tablet" width="500" class="size-full wp-image-506" /><p class="wp-caption-text">Steve Jobs unveils the iPad Tablet</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://scottpenberthy.com/2010/01/27/the-apple-ipad-apps-on-steroids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Great Tablets of the Past</title>
		<link>http://scottpenberthy.com/2010/01/27/great-tablets-of-the-past/</link>
		<comments>http://scottpenberthy.com/2010/01/27/great-tablets-of-the-past/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 15:59:09 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Apps]]></category>

		<guid isPermaLink="false">http://scottpenberthy.com/?p=492</guid>
		<description><![CDATA[Couldn&#8217;t resist.
]]></description>
			<content:encoded><![CDATA[<p>Couldn&#8217;t resist.</p>
<div id="attachment_494" class="wp-caption aligncenter" style="width: 253px"><img src="http://scottpenberthy.com/wp-content/uploads/2010/01/moses2-243x300.jpg" alt="Moses Introduces dual tablets 500BC" title="moses2" width="243" height="300" class="size-medium wp-image-494" /><p class="wp-caption-text">Moses Introduces Folding Tablets 500BC</p></div>
<div id="attachment_493" class="wp-caption aligncenter" style="width: 218px"><img src="http://scottpenberthy.com/wp-content/uploads/2010/01/moses1-208x300.jpg" alt="Moses and the Golden Calf (Duomo, c.1536)" title="moses1" width="208" height="300" class="size-medium wp-image-493" /><p class="wp-caption-text">Moses shows original tablet durability, smashes Golden Calf (Duomo, c.1536)</p></div>
<div id="attachment_495" class="wp-caption aligncenter" style="width: 310px"><img src="http://scottpenberthy.com/wp-content/uploads/2010/01/stone-300x225.jpg" alt="The Original Language Tablet" title="stone" width="300" height="225" class="size-medium wp-image-495" /><p class="wp-caption-text">The Original Language Tablet.  Mobile version available with a team of slaves and oxen.</p></div>
<div id="attachment_496" class="wp-caption aligncenter" style="width: 294px"><img src="http://scottpenberthy.com/wp-content/uploads/2010/01/tricorder-284x300.jpg" alt="Spock Introduces the Tricorder Tablet c. 1969" title="tricorder" width="284" height="300" class="size-medium wp-image-496" /><p class="wp-caption-text">Spock Introduces the Tricorder Tablet for Interplanetary Use, bad polyster suits required for use.</p></div>
<div id="attachment_498" class="wp-caption aligncenter" style="width: 310px"><img src="http://scottpenberthy.com/wp-content/uploads/2010/01/evans-300x242.gif" alt="Evans and Sutherland introduce the Data Tablet c. 1975" title="evans" width="300" height="242" class="size-medium wp-image-498" /><p class="wp-caption-text">Evans and Sutherland introduce the Data Tablet c. 1975.  Colors available with 75lb display!  Take that, Kindle. </p></div>
<div id="attachment_499" class="wp-caption aligncenter" style="width: 310px"><img src="http://scottpenberthy.com/wp-content/uploads/2010/01/tabcola-300x260.jpg" alt="The Liquid Tablet:  6oz Tab bottle, half the calories!  c.1977" title="tabcola" width="300" height="260" class="size-medium wp-image-499" /><p class="wp-caption-text">The Liquid Tablet:  6oz Tab bottle, half the calories.  Just brilliant.  c.1977</p></div>
]]></content:encoded>
			<wfw:commentRss>http://scottpenberthy.com/2010/01/27/great-tablets-of-the-past/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

