<?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>CreativeApplications.Net &#187; development</title>
	<atom:link href="http://www.creativeapplications.net/tag/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.creativeapplications.net</link>
	<description>Apps that Inspire..</description>
	<lastBuildDate>Thu, 09 Feb 2012 19:01:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Best iPhone and iPad Projects of 2011</title>
		<link>http://www.creativeapplications.net/iphone/best-iphone-and-ipad-projects-of-2011/</link>
		<comments>http://www.creativeapplications.net/iphone/best-iphone-and-ipad-projects-of-2011/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 14:15:33 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[bestof]]></category>
		<category><![CDATA[can]]></category>
		<category><![CDATA[cinder]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Innovation]]></category>
		<category><![CDATA[lists]]></category>
		<category><![CDATA[openFrameworks]]></category>

		<guid isPermaLink="false">http://www.creativeapplications.net/?p=20877</guid>
		<description><![CDATA[Another year of iPhone/iPad development but there haven&#8217;t been many apps that have caught our eye as there have been in the past. Nevertheless few that stood above the rest, both in their conception and how they make us think about technology. As an increasing number of apps saturate the AppStore, now in their 100s of thousands, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-20920" title="2011iOS" src="http://www.creativeapplications.net/wp-content/uploads/2011/12/2011iOS1.png" alt="" width="640" height="180" /></p>
<p>Another year of iPhone/iPad development but there haven&#8217;t been many apps that have caught our eye as there have been in the past. Nevertheless few that stood above the rest, both in their conception and how they make us think about technology. As an increasing number of apps saturate the AppStore, now in their 100s of thousands, we&#8217;d like to remain optimistic that this platform will continue to grow and not just by large development studios and those that reiterate but rather as an exciting, creative and above all &#8211; &#8220;innovative&#8221; place to push ideas to.</p>
<h2><a href="http://www.creativeapplications.net/openframeworks/composite-ipad-openframeworks/">10. Composite [iPad, openFrameworks]</a></h2>
<p><iframe src="http://player.vimeo.com/video/27458264?title=0&amp;byline=0&amp;portrait=0" frameborder="0" width="640" height="360"></iframe></p>
<p>Inspired by the neo-dadaist collages of Robert Rauschenberg, James Alliban&#8217;s <em>Composite</em> allows you to remix your surroundings to create graphic compositions. Users can paint pictures using live video stream by simply pointing their iPad towards your subject drawing over it. Pixels are captured and transfered onto canvas. A different way of looking at painting.</p>
<p><a href="http://clkuk.tradedoubler.com/click?p=23708&amp;a=1671662&amp;url=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fcomposite%2Fid455051313%3Fmt%3D8%26uo%3D4%26partnerId%3D2003"><img title="Link to the AppStore" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/iTunes_Badge.gif" alt="" width="44" height="15" /></a></p>
<p>&#8211;</p>
<h2><a href="http://www.creativeapplications.net/games/photonykto-ipad-openframeworks/">9. Photo/Nykto [iPad, openFrameworks, Games]</a></h2>
<p><iframe src="http://player.vimeo.com/video/33127911?title=0&amp;byline=0&amp;portrait=0" frameborder="0" width="640" height="360"></iframe></p>
<p><em>Photo/Nykto</em> is an experimental game conceived by Annelore Schneider and Douglas Edric Stanley as part of the “Unterplay” project at the Master Media Design —HEAD, Genève. Edric describes at as a game for nyktophobes and photophobes. It is played by switching on and off the lights in order to avoid reaching the edge of the screen. <em>Photo/Nykto</em> is one of the few apps that explores interaction with the device beyond the device itself. We like to think of it as &#8220;spatial interface&#8221; one that allows iPad to become an aggregator of physical activity.</p>
<p><em>Soon in the AppStore</em></p>
<p>&#8211;</p>
<h2><a href="http://www.creativeapplications.net/cinder/planetary-cinder-ipad/">8. Planetary [Cinder, iPad]</a></h2>
<p><iframe src="http://player.vimeo.com/video/23168163?title=0&amp;byline=0&amp;portrait=0" frameborder="0" width="640" height="480"></iframe></p>
<p>Created by the collective consisting of Ben Cerveny, Tom Carden, Jesper Sparre Andersen and Robert Hodgin, <em>Planetary</em> by Bloom is a way to explore your music collection using planetary system. Application, created using Cinder framework allows you to navigate dynamically created by information about the music on your iPad. Fly thorough the stars that represent your favourite artists, visit planets (albums) or listen to the moons (tracks).</p>
<p><a href="http://itunes.apple.com/app/planetary/id432462305"><img title="Link to the AppStore" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/iTunes_Badge.gif" alt="" width="44" height="15" /></a></p>
<p>&#8211;</p>
<h2><a href="http://www.creativeapplications.net/games/windosill-ipad-games/">7. Windosill [iPad, Games]</a></h2>
<p><iframe src="http://www.youtube.com/embed/OFFXyeG58us" frameborder="0" width="640" height="480"></iframe></p>
<p>Previously available for Mac and Windows, we are glad to see <em>Windosill</em> by Patrick Smith (Vectorpark.com) finally make it&#8217;s way to the iOS.  An adventure puzzle game filled with peculiar objects, your task is to resolve abstract but yet logical puzzles to progress from room to room. For fans of the original, this is not just a simple port. The Windosill for the iPad was built as a native iOS app and customized the behavior of every element to the iPad’s touch interface. Bonus features include a sketchbook gallery of concept and development artwork, the option to instantly skip to any room you’ve already completed and two special settings, unlocked when you complete Windosill: Complex Gravity, which allows you to manipulate objects by tipping your iPad, and See-Thru Mode, which makes everything translucent (giving you a sneak-peek into how Windosill is put together). Fantastic addition to the AppStore.</p>
<p><a href="http://clk.tradedoubler.com/click?p=23708&amp;a=1671662&amp;url=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fwindosill%2Fid418226282%3Fmt%3D8%26uo%3D4%26partnerId%3D2003"><img title="Link to the AppStore" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/iTunes_Badge.gif" alt="" width="44" height="15" /></a></p>
<p>&#8211;</p>
<h2><a href="http://www.creativeapplications.net/iphone/oscilloscoop-iphone-ipad-sound/">6. OscilloScoop [iPhone, iPad, Sound]</a></h2>
<p><iframe src="http://www.youtube.com/embed/ymW-_RENMKY" frameborder="0" width="640" height="360"></iframe></p>
<p>Created by Scott Snibbe and Graham McDermott and originally designed by Lukas Girling, “OscilloScoop” is a culmination of about 15 years’ effort trying to create musical creation tools that is more like a video game. The process began back in the 90′s at a research lab when Scott Snibbe and Lukas Girling worked briefly with Brian Eno and Laurie Anderson on some of the concepts. The app, playfully called OscilloScoop, presents a trio of brightly colored stacked spinning crowns. Touching a crown trims or builds up its edge, like a spinning disk of clay. As you carve into this disc, the music changes, and you effortlessly produce hip hop, techno, electro, and other recognisable forms of music. Scott Snibble describes the process much like a DJ spinning records, but you create original music of your own, rather than merely cutting between tracks.</p>
<p><a href="http://clkuk.tradedoubler.com/click?p=23708&amp;a=1671662&amp;url=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Foscilloscoop%2Fid431862052%3Fmt%3D8%26uo%3D4%26partnerId%3D2003"><img title="Link to the AppStore" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/iTunes_Badge.gif" alt="" width="44" height="15" /></a></p>
<p>&#8211;</p>
<h2><a href="http://www.creativeapplications.net/maxmsp/the-infinite-adventure-machine-maxmsp/">5. The Infinite Adventure Machine [MaxMSP, iPad]</a></h2>
<p><iframe src="http://player.vimeo.com/video/27462214?title=0&amp;byline=0&amp;portrait=0" frameborder="0" width="640" height="360"></iframe></p>
<p><em>The Infinite Adventure Machine</em> by David Benqué is a computer program which generates fairy-tale plots. Based on the work of Vladimir Propp, who reduced the structure of russian folk-tales to 31 basic functions, the project addresses the difficulties of automatic story generation which David explains remain an unsolved problem for computer science.</p>
<p><em>Not available &#8211; Prototype</em></p>
<p>&#8211;</p>
<h2><a href="http://www.creativeapplications.net/iphone/field-iphone-ipad-openframeworks-sound/">4. field [iPhone, iPad, openFrameworks, Sound]</a></h2>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2011/07/field01.png"><img class="alignnone" src="http://www.creativeapplications.net/wp-content/uploads/2011/07/field01.png" alt="" width="640" height="425" /></a></p>
<p>Created by Rainer Kohlberger with sound by Wilm Thoben, field is an abstract audiovisual app that uses realtime camera feed as input. Brightness, saturation and color are interpreted, and translated into a constructed grid. The realtime image triggers different sounds as you pan around. Included are five different modes which you can switch through by double tapping the screen. Very addictive and playful take on  live video as medium to generate both visual and sound patterns.</p>
<p><a href="http://clk.tradedoubler.com/click?p=23708&amp;a=1671662&amp;url=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Ffield%2Fid447102469%3Fmt%3D8%26uo%3D4%26partnerId%3D2003"><img title="Link to the AppStore" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/iTunes_Badge.gif" alt="" width="44" height="15" /></a></p>
<p>&#8211;</p>
<h2><a href="http://www.creativeapplications.net/ipad/last-clock-ipad/">3. Last Clock [iPad]</a></h2>
<p><iframe src="http://player.vimeo.com/video/27975734?title=0&amp;byline=0&amp;portrait=0" frameborder="0" width="640" height="360"></iframe></p>
<p>Originally created in 2002 by Jussi Ängeslevä and Ross Cooper when at the Royal College of Arts in London and developed for the iOS by NewMediology (Danqing Shi), Last clock is a clock app that uses popular slit scan technique to <em>keep you in factual time, human time and remote time. </em>Just like any other analog clock, the app has three hands: one for seconds, minutes and hours. The hands, however, are made of a slice of live video that gets scanned to the clockface. With different refresh rate for the three hands, the three time circles reflect the rhythms of the space at different temporal resolutions. The app also allows you to stream the last clock camera feed over the internet.</p>
<p><a href="http://clk.tradedoubler.com/click?p=23708&amp;a=1671662&amp;url=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Flast-clock%2Fid460584423%3Fmt%3D8%26uo%3D4%26partnerId%3D2003"><img title="Link to the AppStore" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/iTunes_Badge.gif" alt="" width="44" height="15" /></a></p>
<p>&#8211;</p>
<h2><a href="http://www.creativeapplications.net/games/sword-sworcery-ep-games/">2. Sword &amp; Sworcery EP [Games, iPhone, iPad]</a></h2>
<p><iframe src="http://player.vimeo.com/video/20379529?title=0&amp;byline=0&amp;portrait=0" frameborder="0" width="640" height="360"></iframe></p>
<p>The long awaited <em>“21st century interpretation of the archetypical old school videogame adventure” </em>by Superbrothers finally hit the AppStore this year. The response was amazing quickly became one of the most popular games of the year. If you haven&#8217;t had a chance to play with it, xmas break seems like a perfect opportunity. Easily the best iOS game this year.</p>
<p><a href="http://clkuk.tradedoubler.com/click?p=23708&amp;a=1671662&amp;url=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fsuperbrothers-sword-sworcery%2Fid424912055%3Fmt%3D8%26uo%3D4%26partnerId%3D2003"><img title="Link to the AppStore" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/iTunes_Badge.gif" alt="" width="44" height="15" /></a></p>
<p>&#8211;</p>
<h2><a href="http://www.creativeapplications.net/iphone/bjork-biophilia-virus-iphone-ipad-sound/">1. Björk – Biophilia [iPhone, iPad, Sound]</a></h2>
<p><iframe src="http://player.vimeo.com/video/30150709?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff" frameborder="0" width="640" height="480"></iframe></p>
<p>Having seen many apps over the last few years, I don&#8217;t think anyone expected Biophilia. If you don&#8217;t know about it, is an iPhone/iPad release of Björk’s latest album created in collaboration with Scott Snibbe and her longtime design collaborators M/M (Paris). Comprising a suite of musical pieces and interactive artworks, Biophilia is a unique experience where different elements are weaved together with both sensitivity and precision. The experience is unified, building on different layers of visuals and sound. It&#8217;s a simple must! (Read also our special <a href="http://www.creativeapplications.net/iphone/bjork-biophilia-virus-iphone-ipad-sound/">Making-of Virus</a>)</p>
<p><a href="http://clk.tradedoubler.com/click?p=23708&amp;a=1671662&amp;url=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fbjork-biophilia%2Fid434122935%3Fmt%3D8%26uo%3D4%26partnerId%3D2003"><img title="Link to the AppStore" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/iTunes_Badge.gif" alt="" width="44" height="15" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativeapplications.net/iphone/best-iphone-and-ipad-projects-of-2011/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Camera Apps [iPhone, Tutorial, openFrameworks]</title>
		<link>http://www.creativeapplications.net/iphone/camera-apps-iphone-tutorial-openframeworks/</link>
		<comments>http://www.creativeapplications.net/iphone/camera-apps-iphone-tutorial-openframeworks/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 12:55:42 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[openFrameworks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AppStore]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[photgraphy]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.creativeapplications.net/?p=12954</guid>
		<description><![CDATA[This is an introduction tutorial in creating photo apps for the iPhone based on the tutorial by Atsushi Tadokoro. If you are already familiar with openFrameworks you can skip right to the &#8220;goal&#8221; section. If you haven&#8217;t used openframeworks before, read on to learn how to download, install and use xcode to get this tutorial [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/oftutorial_camera.png"><img class="alignnone size-full wp-image-12981" title="oftutorial_camera" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/oftutorial_camera.png" alt="" width="640" height="180" /></a></p>
<p>This is an introduction tutorial in creating photo apps for the iPhone based on the tutorial by <a href="http://yoppa.org/iphone10/1163.html">Atsushi Tadokoro</a>. If you are already familiar with openFrameworks you can skip right to the &#8220;goal&#8221; section. If you haven&#8217;t used openframeworks before, read on to learn how to download, install and use xcode to get this tutorial on your iPhone.</p>
<p>Before we start, to be able to deploy development applications to the iPhone, ie run them on the device or publish to the AppStore, you will need to be registered with Apple as iPhone developer. This is a somewhat convoluted process but the registration itself does not take a lot of time. The downside that that it will cost you $99/year. You do not necessarily need to be registered as a iPhone developer to experiment with this tutorial as you can always use the iPhone emulator to play with your applications. Considering this is a photo application we are creating, you will not be able to take photos from the emulator, instead the code includes using images from the library when application is run in the emulator.</p>
<p><a href="http://www.openframeworks.cc/">openFrameworks</a> in an open source c++ creative code framework which runs inside xCode, a development application provided by Apple as a part of Apple SDK (software development kit). To be able to use oF (openFrameworks) you first need to download iPhone SDK (<a href="http://developer.apple.com/devcenter/ios/index.action">Download</a>). You will need to register on Apple&#8217;s site to gain access to the download but this is pretty straight forward. Once you have download and installed xCode, you need to download openFrameworks. oF comes in a number of versions, the one you want is <a href="http://www.openframeworks.cc/download">v0061_iPhone</a>. This is the latest official release at the time of writing this tutorial. Should you want to jump ahead, you can always look at the <a href="https://github.com/openframeworks/openFrameworks">github source</a>, the latest development version. For this tutorial, v0061_iPhone should be good to go. Download oF and unzip the folder. You can put the oF folder anywhere on your computer, what is important is that all the applications you create (xCode Projects) are located inside this folder. The correct location for all your files should be openframeworksfolder/apps/yournameorappname/xcodeprojectsfolders. It&#8217;s really important that you have another folder between apps and your xcode projects. oF xCode projects include a bunch of references to the files contained within the oF folder. Regardless of whether you new app is empty or not, for it to compile (build/run), needs to know where the main oF files are.</p>
<p>To start a new project, duplicate &#8220;emptyExample&#8221; folder located inside /apps/iPhoneExamples folder and put it in the appropriate new folder inside /apps folder (see above). This is your starting file and should contain all the link and references to get going.</p>
<p>NOTE: The making of this original tutorial happened before the latest version of Apple SDK (the one you just downloaded) was available. To make your tutorial files run, you will need to change BASE SDK configuration. To do this, inside xcode, go to the left menu, expand &#8220;targets&#8221; folder and double click on the application. Change &#8220;Base SDK&#8221; to &#8220;iOS Device 4.1&#8243;. Alternatively, download the working (oFv0061_iPhone) emptyExample <a href="http://www.creativeapplications.net/files/tutorials/of/0061/emptyExample.zip">here</a>. If you are downloading files below, you will need to do the same to them.</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/basesdk.png"><img class="alignnone size-large wp-image-12959" title="basesdk" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/basesdk-640x515.png" alt="" width="640" height="515" /></a></p>
<p>When you open the example project, you will find many folders on the left and link to other files. You should be concerned (for the time being) only with the files located inside the &#8220;src&#8221; folder, the the source folder. There you will find <em>main.mm</em>, <em>testApp.h</em> and <em>testApp.mm</em> files. <em>main.mm</em> file you will hardly ever need to touch, this just defines global settings, <em>testApp.h</em> is where your definitions go, ie for example the variables and <em>testApp.mm</em> is where your code sits. In the following examples will be dealing with <em>testApp.h</em> and <em>testApp.mm</em> files.</p>
<p>To test whether your example project works, click on the &#8220;Build and Run&#8221; button in the top of the xCode window. To ensure you are deploying to the emulator and not device, make sure that on the left pull down menu &#8220;simulator&#8221; is selected. Alternatively if you would like to deploy straight to your device, choose &#8220;device&#8221;. If you code is good, you should now see emulator open running your empty application or do the same on the device.</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/deploying1.png"><img class="alignnone size-large wp-image-12958" title="deploying" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/deploying1-640x189.png" alt="" width="640" height="189" /></a></p>
<p>The basic setup of oF files is very similar to Processing if you used it before. If not, basically there are a number of events that take place when your iphone goes through your code. First one is setup, this is where you predefine all the things that run only once. Update is where things happen each frame, say for example you want the object to move from left to right, well you&#8217;d do that in the update, telling in the code to move the object by 1 pixel with each progressing frame. Draw is where you say what to draw on the screen. touchDown is what happens when you tap on the screen, touchMoved when you move your finger along the screen, touchup is when your release and the one we are going to be using here is touchDoubleTap, what happens when you tap twice on the screen. For the sake of keeping this example simple, we&#8217;ll just use double tap as a button to open camera.</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/setup.png"><img class="alignnone size-full wp-image-12980" title="setup" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/setup.png" alt="" width="640" height="354" /></a></p>
<p>Now we are ready to jump into the code.</p>
<h2><span><span>Take a Picture</span></span></h2>
<p><span><span>We are going to first learn how to take a simple picture. Once we know that, we&#8217;ll learn how to apply effects or alter pixel data we obtain from the camera.</span></span></p>
<p><span> </span>- Built-in camera to take pictures, images of photographs (ofImage) to copy and display<br />
- The underlying features of the camera application and later</p>
<p>Your testApp.h</p>
<p>[sourcecode language="c"]<br />
#pragma once</p>
<p>#include &quot;ofMain.h&quot;<br />
#include &quot;ofxiPhone.h&quot;<br />
#include &quot;ofxiPhoneExtras.h&quot;</p>
<p>class testApp : public ofxiPhoneApp {</p>
<p>public:<br />
	void setup();<br />
	void update();<br />
	void draw();<br />
	void exit();</p>
<p>	void touchDown(ofTouchEventArgs &amp;touch);<br />
	void touchMoved(ofTouchEventArgs &amp;touch);<br />
	void touchUp(ofTouchEventArgs &amp;touch);<br />
	void touchDoubleTap(ofTouchEventArgs &amp;touch);</p>
<p>	void lostFocus();<br />
	void gotFocus();<br />
	void gotMemoryWarning();<br />
	void deviceOrientationChanged(int newOrientation);</p>
<p>	unsigned char * cameraPixels;<br />
	ofxiPhoneImagePicker * camera;<br />
	ofImage	photo;<br />
    int status;</p>
<p>};<br />
[/sourcecode]</p>
<p>Your testApp.mm</p>
<p>[sourcecode language="c"]<br />
#include &quot;testApp.h&quot;</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::setup(){<br />
	// register touch events<br />
	ofRegisterTouchEvents(this);</p>
<p>	// initialize the accelerometer<br />
	ofxAccelerometer.setup();</p>
<p>	//iPhoneAlerts will be sent to this.<br />
	ofxiPhoneAlerts.addListener(this);</p>
<p>	//If you want a landscape oreintation<br />
	//iPhoneSetOrientation(OFXIPHONE_ORIENTATION_LANDSCAPE_RIGHT);</p>
<p>	ofBackground(127,127,127);</p>
<p>	cameraPixels = NULL;<br />
	camera = new ofxiPhoneImagePicker();<br />
	camera-&gt;setMaxDimension(480);</p>
<p>    status = 0;<br />
}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::update(){</p>
<p>#ifndef _USE_SIMULATOR<br />
    //condition to use simulator for testing<br />
	if(camera-&gt;imageUpdated){<br />
		//Camera&#8217;s memory space<br />
		if (cameraPixels == NULL){<br />
			cameraPixels = new unsigned char [camera-&gt;width * camera-&gt;height*4];<br />
		}</p>
<p>        //Now that I&#8217;m still upside down camera images, the image upside down<br />
		for (int i = 0; i &lt; camera-&gt;height; i++){<br />
			memcpy(cameraPixels+(camera-&gt;height-i-1)*camera-&gt;width*4, camera-&gt;pixels+i*camera-&gt;width*4, camera-&gt;width*4);<br />
		}</p>
<p>		// The captured image from the camera for processing ofImage (photo) Copy<br />
		photo.setFromPixels(cameraPixels, camera-&gt;width, camera-&gt;height, OF_IMAGE_COLOR_ALPHA);<br />
        camera-&gt;imageUpdated = false;<br />
        status = 1;<br />
	}<br />
#endif</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::draw(){</p>
<p>	if (status == 0) {<br />
        //Display the screen to shoot<br />
        ofSetColor(255, 255, 255);<br />
        ofDrawBitmapString(&quot;Double tap on the screen!!&quot;, 40, ofGetHeight()/2-5);<br />
    }</p>
<p>    if(status == 1){<br />
        //Display the captured image<br />
        photo.draw(0, 0);<br />
    }</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::exit(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchDown(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchMoved(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchUp(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchDoubleTap(ofTouchEventArgs &amp;touch){</p>
<p>	////UNCOMMENT/COMMENT AS NEEDED</p>
<p>	////If using Simulator: loading images</p>
<p>	//    photo.loadImage(&quot;images/photo.png&quot;);<br />
	//    photo.setImageType(OF_IMAGE_COLOR_ALPHA);<br />
	//    status = 1;</p>
<p>	////or to open Photo library in the simulator or actual device</p>
<p>	//camera-&gt;openLibrary();</p>
<p>	//When using real: a new photo shoot</p>
<p>    camera-&gt;openCamera();</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::lostFocus(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::gotFocus(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::gotMemoryWarning(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::deviceOrientationChanged(int newOrientation){</p>
<p>}<br />
[/sourcecode]</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.34.07-AM-1.png"><img class="alignnone size-full wp-image-12967" title="Pastebot 2010-11-11 11.34.07 AM 1" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.34.07-AM-1.png" alt="" width="320" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.34.07-AM-2.png"><img class="alignnone size-full wp-image-12966" title="Pastebot 2010-11-11 11.34.07 AM 2" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.34.07-AM-2.png" alt="" width="320" height="480" /></a></p>
<h2><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.34.07-AM-2.png"></a>Camera Mosaic</h2>
<p>- Processed into a mosaic of photographs<br />
- Picked up at regular intervals of pixel information photographs, drawing a rectangle RGB obtained based on information<br />
- Pixel information of the photographic image, getPixel () function is used to remove<br />
- Photographic image, every pixel 1 RGBA (Red, Green, Blue, Alpha) that contains information on four<br />
- When we scan the pixel is treated as one unit to keep in mind four pixels</p>
<p>Your testApp.h</p>
<p>[sourcecode language="c"]<br />
#pragma once</p>
<p>#include &quot;ofMain.h&quot;<br />
#include &quot;ofxiPhone.h&quot;<br />
#include &quot;ofxiPhoneExtras.h&quot;</p>
<p>class testApp : public ofxiPhoneApp {</p>
<p>public:<br />
	void setup();<br />
	void update();<br />
	void draw();<br />
	void exit();</p>
<p>	void touchDown(ofTouchEventArgs &amp;touch);<br />
	void touchMoved(ofTouchEventArgs &amp;touch);<br />
	void touchUp(ofTouchEventArgs &amp;touch);<br />
	void touchDoubleTap(ofTouchEventArgs &amp;touch);</p>
<p>	void lostFocus();<br />
	void gotFocus();<br />
	void gotMemoryWarning();<br />
	void deviceOrientationChanged(int newOrientation);</p>
<p>	unsigned char * cameraPixels;<br />
	ofxiPhoneImagePicker * camera;<br />
	ofImage	photo;<br />
    int status;</p>
<p>};<br />
[/sourcecode]</p>
<p>Your testApp.mm</p>
<p>[sourcecode language="c"]</p>
<p>#include &quot;testApp.h&quot;</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::setup(){<br />
	// register touch events<br />
	ofRegisterTouchEvents(this);</p>
<p>	// initialize the accelerometer<br />
	ofxAccelerometer.setup();</p>
<p>	//iPhoneAlerts will be sent to this.<br />
	ofxiPhoneAlerts.addListener(this);</p>
<p>	//If you want a landscape oreintation<br />
	//iPhoneSetOrientation(OFXIPHONE_ORIENTATION_LANDSCAPE_RIGHT);</p>
<p>	ofBackground(127,127,127);</p>
<p>	cameraPixels = NULL;<br />
	camera = new ofxiPhoneImagePicker();<br />
	camera-&gt;setMaxDimension(480);</p>
<p>    status = 0;<br />
}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::update(){</p>
<p>#ifndef _USE_SIMULATOR<br />
    //When using real<br />
	if(camera-&gt;imageUpdated){<br />
		//Camera&#8217;s memory space<br />
		if (cameraPixels == NULL){<br />
			cameraPixels = new unsigned char [camera-&gt;width * camera-&gt;height*4];<br />
		}</p>
<p>		// Now that I&#8217;m still upside down camera images, the image upside down<br />
		for (int i = 0; i &lt; camera-&gt;height; i++){<br />
			memcpy(cameraPixels+(camera-&gt;height-i-1)*camera-&gt;width*4, camera-&gt;pixels+i*camera-&gt;width*4, camera-&gt;width*4);<br />
		}</p>
<p>		// The captured image from the camera for processing ofImage (photo) Copy<br />
		photo.setFromPixels(cameraPixels, camera-&gt;width, camera-&gt;height, OF_IMAGE_COLOR_ALPHA);<br />
        camera-&gt;imageUpdated = false;<br />
        status = 1;<br />
	}<br />
#endif</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::draw(){</p>
<p>    if (status == 0) {<br />
        //Display the screen to shoot<br />
        ofSetColor(255, 255, 255);<br />
        ofDrawBitmapString(&quot;Double tap on the screen!!&quot;, 40, ofGetHeight()/2-5);<br />
    }</p>
<p>    if(status == 1){<br />
        //Display the captured image<br />
        photo.draw(0, 0);</p>
<p>        //Bitmap information stored in the array of image data<br />
        unsigned char * pixels = photo.getPixels();</p>
<p>        //Image width and height of income<br />
        int w = photo.width;<br />
        int h = photo.height;</p>
<p>        //スキャンする間隔<br />
        int skip = 20;</p>
<p>        //Of a mosaic: the pixel color at regular intervals to detect and draw<br />
        for (int j = 0; j &lt; h; j+=skip){<br />
            for (int i = 0; i &lt; w; i+=skip){<br />
                int valueR = pixels[j*4*w + i*4];<br />
                int valueG = pixels[j*4*w + i*4+1];<br />
                int valueB = pixels[j*4*w + i*4+2];<br />
                ofSetColor(valueR,valueG,valueB);<br />
                ofRect(i, j, skip, skip);<br />
            }<br />
        }<br />
    }<br />
}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::exit(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchDown(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchMoved(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchUp(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchDoubleTap(ofTouchEventArgs &amp;touch){</p>
<p>	////UNCOMMENT/COMMENT AS NEEDED</p>
<p>	////If using Simulator: loading images</p>
<p>	//    photo.loadImage(&quot;images/photo.png&quot;);<br />
	//    photo.setImageType(OF_IMAGE_COLOR_ALPHA);<br />
	//    status = 1;</p>
<p>	////or to open Photo library in the simulator or actual device</p>
<p>	//camera-&gt;openLibrary();</p>
<p>	//When using real: a new photo shoot</p>
<p>    camera-&gt;openCamera();</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::lostFocus(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::gotFocus(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::gotMemoryWarning(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::deviceOrientationChanged(int newOrientation){</p>
<p>}<br />
[/sourcecode]</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.34.07-AM-3.png"><img class="alignnone size-full wp-image-12969" title="Pastebot 2010-11-11 11.34.07 AM 3" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.34.07-AM-3.png" alt="" width="320" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.34.07-AM-4.png"><img class="alignnone size-full wp-image-12968" title="Pastebot 2010-11-11 11.34.07 AM 4" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.34.07-AM-4.png" alt="" width="320" height="480" /></a></p>
<h2>Scan Camera</h2>
<p>- Using the application of Mosaic<br />
- A certain height (Y coordinate) of the pixel information<br />
- All X coordinate to obtain RGBA values, like displaying a vertical bar to expand<br />
- To get height, which can be changed by touching the screen<br />
- Effects can be obtained at the specified line to scan photos</p>
<p>Your testApp.h</p>
<p>[sourcecode language="c"]</p>
<p>#pragma once</p>
<p>#include &quot;ofMain.h&quot;<br />
#include &quot;ofxiPhone.h&quot;<br />
#include &quot;ofxiPhoneExtras.h&quot;</p>
<p>class testApp : public ofxiPhoneApp {</p>
<p>public:<br />
	void setup();<br />
	void update();<br />
	void draw();<br />
	void exit();</p>
<p>	void touchDown(ofTouchEventArgs &amp;touch);<br />
	void touchMoved(ofTouchEventArgs &amp;touch);<br />
	void touchUp(ofTouchEventArgs &amp;touch);<br />
	void touchDoubleTap(ofTouchEventArgs &amp;touch);</p>
<p>	void lostFocus();<br />
	void gotFocus();<br />
	void gotMemoryWarning();<br />
	void deviceOrientationChanged(int newOrientation);</p>
<p>	unsigned char * cameraPixels;<br />
	ofxiPhoneImagePicker * camera;<br />
	ofImage	photo;<br />
    int status;<br />
	int scanHeight;<br />
};<br />
[/sourcecode]</p>
<p>Your testApp.mm</p>
<p>[sourcecode language="c"]<br />
#include &quot;testApp.h&quot;</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::setup(){<br />
	// register touch events<br />
	ofRegisterTouchEvents(this);</p>
<p>	// initialize the accelerometer<br />
	ofxAccelerometer.setup();</p>
<p>	//iPhoneAlerts will be sent to this.<br />
	ofxiPhoneAlerts.addListener(this);</p>
<p>	//If you want a landscape oreintation<br />
	//iPhoneSetOrientation(OFXIPHONE_ORIENTATION_LANDSCAPE_RIGHT);</p>
<p>	ofBackground(127,127,127);</p>
<p>	cameraPixels = NULL;<br />
	camera = new ofxiPhoneImagePicker();<br />
	camera-&gt;setMaxDimension(480);</p>
<p>    status = 0;<br />
}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::update(){</p>
<p>#ifndef _USE_SIMULATOR<br />
    //When using real<br />
	if(camera-&gt;imageUpdated){<br />
		//Camera&#8217;s memory space<br />
		if (cameraPixels == NULL){<br />
			cameraPixels = new unsigned char [camera-&gt;width * camera-&gt;height*4];<br />
		}</p>
<p>		// Now that I&#8217;m still upside down camera images, the image upside down<br />
		for (int i = 0; i &lt; camera-&gt;height; i++){<br />
			memcpy(cameraPixels+(camera-&gt;height-i-1)*camera-&gt;width*4, camera-&gt;pixels+i*camera-&gt;width*4, camera-&gt;width*4);<br />
		}</p>
<p>		// The captured image from the camera for processing ofImage (photo) Copy<br />
		photo.setFromPixels(cameraPixels, camera-&gt;width, camera-&gt;height, OF_IMAGE_COLOR_ALPHA);<br />
        camera-&gt;imageUpdated = false;<br />
        status = 1;<br />
	}<br />
#endif</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::draw(){</p>
<p>    if (status == 0) {<br />
        //Display the screen to shoot<br />
        ofSetColor(255, 255, 255);<br />
        ofDrawBitmapString(&quot;Double tap on the screen!!&quot;, 40, ofGetHeight()/2-5);<br />
    }</p>
<p>    if(status == 1){<br />
        //Display the captured image<br />
        photo.draw(0, 0);</p>
<p>        //Bitmap information stored in the array of image data<br />
        unsigned char * pixels = photo.getPixels();</p>
<p>        //Image width and height of income<br />
        int w = photo.width;<br />
        int h = photo.height;</p>
<p>        //Of a mosaic: the pixel color at regular intervals to detect and draw<br />
        for (int i = 0; i &lt; w; i++){<br />
            int valueR = pixels[scanHeight*4*w + i*4];<br />
            int valueG = pixels[scanHeight*4*w + i*4+1];<br />
            int valueB = pixels[scanHeight*4*w + i*4+2];<br />
            ofSetColor(valueR,valueG,valueB);<br />
            ofRect(i, 0, 1, h);<br />
        }</p>
<p>        //Display it where to scan<br />
        ofSetColor(255, 255, 255);<br />
        ofLine(0, scanHeight, ofGetWidth(), scanHeight);<br />
    }<br />
}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::exit(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchDown(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchMoved(ofTouchEventArgs &amp;touch){<br />
	//Where you drag the screen to determine the height scan<br />
	scanHeight = touch.y;</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchUp(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchDoubleTap(ofTouchEventArgs &amp;touch){</p>
<p>	////UNCOMMENT/COMMENT AS NEEDED</p>
<p>	////If using Simulator: loading images</p>
<p>	//    photo.loadImage(&quot;images/photo.png&quot;);<br />
	//    photo.setImageType(OF_IMAGE_COLOR_ALPHA);<br />
	//    status = 1;</p>
<p>	////or to open Photo library in the simulator or actual device</p>
<p>	//camera-&gt;openLibrary();</p>
<p>	//When using real: a new photo shoot</p>
<p>    camera-&gt;openCamera();</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::lostFocus(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::gotFocus(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::gotMemoryWarning(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::deviceOrientationChanged(int newOrientation){</p>
<p>}<br />
[/sourcecode]</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.52.04-AM-1.png"><img class="alignnone size-full wp-image-12971" title="Pastebot 2010-11-11 11.52.04 AM 1" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.52.04-AM-1.png" alt="" width="320" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.52.04-AM-2.png"><img class="alignnone size-full wp-image-12970" title="Pastebot 2010-11-11 11.52.04 AM 2" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-11.52.04-AM-2.png" alt="" width="320" height="480" /></a></p>
<h2>Pixelate Camera (Greyscale)</h2>
<p>- Analysis of photographic images pixel information<br />
- RGB images at a constant interval to another level (brightness) to get, taking the average value<br />
- Going in circles while changing the radius value<br />
- As gray dots represent the photo that was printed in black and white</p>
<p>Your testApp.h</p>
<p>[sourcecode language="c"]<br />
#pragma once</p>
<p>#include &quot;ofMain.h&quot;<br />
#include &quot;ofxiPhone.h&quot;<br />
#include &quot;ofxiPhoneExtras.h&quot;</p>
<p>class testApp : public ofxiPhoneApp {</p>
<p>public:<br />
	void setup();<br />
	void update();<br />
	void draw();<br />
	void exit();</p>
<p>	void touchDown(ofTouchEventArgs &amp;touch);<br />
	void touchMoved(ofTouchEventArgs &amp;touch);<br />
	void touchUp(ofTouchEventArgs &amp;touch);<br />
	void touchDoubleTap(ofTouchEventArgs &amp;touch);</p>
<p>	void lostFocus();<br />
	void gotFocus();<br />
	void gotMemoryWarning();<br />
	void deviceOrientationChanged(int newOrientation);</p>
<p>	unsigned char * cameraPixels;<br />
	ofxiPhoneImagePicker * camera;<br />
	ofImage	photo;<br />
    int status;</p>
<p>};<br />
[/sourcecode]</p>
<p>Your testApp.mm</p>
<p>[sourcecode language="c"]<br />
#include &quot;testApp.h&quot;</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::setup(){<br />
	// register touch events<br />
	ofRegisterTouchEvents(this);</p>
<p>	// initialize the accelerometer<br />
	ofxAccelerometer.setup();</p>
<p>	//iPhoneAlerts will be sent to this.<br />
	ofxiPhoneAlerts.addListener(this);</p>
<p>	//If you want a landscape oreintation<br />
	//iPhoneSetOrientation(OFXIPHONE_ORIENTATION_LANDSCAPE_RIGHT);</p>
<p>	ofBackground(127,127,127);<br />
	ofEnableSmoothing();<br />
	ofSetCircleResolution(64);<br />
	ofEnableAlphaBlending();</p>
<p>	cameraPixels = NULL;<br />
	camera = new ofxiPhoneImagePicker();<br />
	camera-&gt;setMaxDimension(480);</p>
<p>    status = 0;<br />
}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::update(){</p>
<p>#ifndef _USE_SIMULATOR<br />
    //When using real<br />
	if(camera-&gt;imageUpdated){<br />
		//Camera&#8217;s memory space<br />
		if (cameraPixels == NULL){<br />
			cameraPixels = new unsigned char [camera-&gt;width * camera-&gt;height*4];<br />
		}</p>
<p>		// Now that I&#8217;m still upside down camera images, the image upside down<br />
		for (int i = 0; i &lt; camera-&gt;height; i++){<br />
			memcpy(cameraPixels+(camera-&gt;height-i-1)*camera-&gt;width*4, camera-&gt;pixels+i*camera-&gt;width*4, camera-&gt;width*4);<br />
		}</p>
<p>		// The captured image from the camera for processing ofImage (photo) Copy<br />
		photo.setFromPixels(cameraPixels, camera-&gt;width, camera-&gt;height, OF_IMAGE_COLOR_ALPHA);<br />
        camera-&gt;imageUpdated = false;<br />
        status = 1;<br />
	}<br />
#endif</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::draw(){</p>
<p>    if (status == 0) {<br />
        //Display the screen to shoot<br />
        ofSetColor(255, 255, 255);<br />
        ofDrawBitmapString(&quot;Double tap on the screen!!&quot;, 40, ofGetHeight()/2-5);<br />
    }</p>
<p>    if(status == 1){<br />
        //Display the captured image<br />
        photo.draw(0, 0);</p>
<p>        //Bitmap information stored in the array of image data<br />
        unsigned char * pixels = photo.getPixels();</p>
<p>        //Image width and height of income<br />
        int w = photo.width;<br />
        int h = photo.height;</p>
<p>        //Set the radius of the pixelate<br />
        int r = 12;</p>
<p>        //Scan the image at regular intervals<br />
        for (int j = 0; j &lt; h; j+=r){<br />
            for (int i = 0; i &lt; w; i+=r){<br />
                //Get the value of RGB pixel<br />
                //RGBA so arranged in the order of 4 per pixel<br />
                int valueR = pixels[j*4*w + i*4];<br />
                int valueG = pixels[j*4*w + i*4+1];<br />
                int valueB = pixels[j*4*w + i*4+2];</p>
<p>                //RGB values for calculating the average value of<br />
                float value = r*(valueR+valueG+valueB)/2.0/255.0;</p>
<p>                //Get the RGB values based on drawing a circle<br />
                //Get the brightness of the pixels, which will correspond to the radius<br />
                ofSetColor(255,255,255,100);<br />
                ofCircle(i, j, value);<br />
            }<br />
        }</p>
<p>    }<br />
}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::exit(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchDown(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchMoved(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchUp(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchDoubleTap(ofTouchEventArgs &amp;touch){</p>
<p>	////UNCOMMENT/COMMENT AS NEEDED</p>
<p>	////If using Simulator: loading images</p>
<p>	//    photo.loadImage(&quot;images/photo.png&quot;);<br />
	//    photo.setImageType(OF_IMAGE_COLOR_ALPHA);<br />
	//    status = 1;</p>
<p>	////or to open Photo library in the simulator or actual device</p>
<p>	//camera-&gt;openLibrary();</p>
<p>	//When using real: a new photo shoot</p>
<p>    camera-&gt;openCamera();</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::lostFocus(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::gotFocus(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::gotMemoryWarning(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::deviceOrientationChanged(int newOrientation){</p>
<p>}<br />
[/sourcecode]</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-12.05.26-PM-1.png"><img class="alignnone size-full wp-image-12973" title="Pastebot 2010-11-11 12.05.26 PM 1" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-12.05.26-PM-1.png" alt="" width="320" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-12.05.26-PM-2.png"><img class="alignnone size-full wp-image-12974" title="Pastebot 2010-11-11 12.05.26 PM 2" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-12.05.26-PM-2.png" alt="" width="320" height="480" /></a></p>
<h2>Pixelate Camera (Colour)</h2>
<p>- The color version of Pixelate<br />
- RGB separate circles, we repeatedly<br />
- The synthesis of color when drawing the point where the change is additive synthesis<br />
- Use OpenGL commands directly &#8211; glEnable (GL_BLEND); and glBlendFunc (GL_SRC_ALPHA, GL_ONE); feasible<br />
- As gray dots represent a color photograph printed as</p>
<p>Your testApp.h</p>
<p>[sourcecode language="c"]<br />
#pragma once</p>
<p>#include &quot;ofMain.h&quot;<br />
#include &quot;ofxiPhone.h&quot;<br />
#include &quot;ofxiPhoneExtras.h&quot;</p>
<p>class testApp : public ofxiPhoneApp {</p>
<p>public:<br />
	void setup();<br />
	void update();<br />
	void draw();<br />
	void exit();</p>
<p>	void touchDown(ofTouchEventArgs &amp;touch);<br />
	void touchMoved(ofTouchEventArgs &amp;touch);<br />
	void touchUp(ofTouchEventArgs &amp;touch);<br />
	void touchDoubleTap(ofTouchEventArgs &amp;touch);</p>
<p>	void lostFocus();<br />
	void gotFocus();<br />
	void gotMemoryWarning();<br />
	void deviceOrientationChanged(int newOrientation);</p>
<p>	unsigned char * cameraPixels;<br />
	ofxiPhoneImagePicker * camera;<br />
	ofImage	photo;<br />
    int status;</p>
<p>};<br />
[/sourcecode]</p>
<p>Your testApp.mm</p>
<p>[sourcecode language="c"]<br />
#include &quot;testApp.h&quot;</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::setup(){<br />
	// register touch events<br />
	ofRegisterTouchEvents(this);</p>
<p>	// initialize the accelerometer<br />
	ofxAccelerometer.setup();</p>
<p>	//iPhoneAlerts will be sent to this.<br />
	ofxiPhoneAlerts.addListener(this);</p>
<p>	//If you want a landscape oreintation<br />
	//iPhoneSetOrientation(OFXIPHONE_ORIENTATION_LANDSCAPE_RIGHT);</p>
<p>	ofBackground(127,127,127);<br />
	ofEnableSmoothing();<br />
	ofSetCircleResolution(64);<br />
	ofEnableAlphaBlending();</p>
<p>	cameraPixels = NULL;<br />
	camera = new ofxiPhoneImagePicker();<br />
	camera-&gt;setMaxDimension(480);</p>
<p>    status = 0;<br />
}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::update(){</p>
<p>#ifndef _USE_SIMULATOR<br />
    //When using real<br />
	if(camera-&gt;imageUpdated){<br />
		//Camera&#8217;s memory space<br />
		if (cameraPixels == NULL){<br />
			cameraPixels = new unsigned char [camera-&gt;width * camera-&gt;height*4];<br />
		}</p>
<p>		// Now that I&#8217;m still upside down camera images, the image upside down<br />
		for (int i = 0; i &lt; camera-&gt;height; i++){<br />
			memcpy(cameraPixels+(camera-&gt;height-i-1)*camera-&gt;width*4, camera-&gt;pixels+i*camera-&gt;width*4, camera-&gt;width*4);<br />
		}</p>
<p>		// The captured image from the camera for processing ofImage (photo) Copy<br />
		photo.setFromPixels(cameraPixels, camera-&gt;width, camera-&gt;height, OF_IMAGE_COLOR_ALPHA);<br />
        camera-&gt;imageUpdated = false;<br />
        status = 1;<br />
	}<br />
#endif</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::draw(){</p>
<p>    if (status == 0) {<br />
        //Display the screen to shoot<br />
        ofSetColor(255, 255, 255);<br />
        ofDrawBitmapString(&quot;Double tap on the screen!!&quot;, 40, ofGetHeight()/2-5);<br />
    }</p>
<p>    if(status == 1){<br />
        //Display the captured image<br />
        photo.draw(0, 0);</p>
<p>        //Bitmap information stored in the array of image data<br />
        unsigned char * pixels = photo.getPixels();</p>
<p>        //Image width and height of income<br />
        int w = photo.width;<br />
        int h = photo.height;</p>
<p>        //Set the radius of the pixelate<br />
        int r = 12;</p>
<p>        //Scan the image at regular intervals<br />
        for (int j = 0; j &lt; h; j+=r){<br />
            for (int i = 0; i &lt; w; i+=r){<br />
                //Get the value of RGB pixel<br />
                //RGBA so arranged in the order of 4 per pixel<br />
                int valueR = pixels[j*4*w + i*4];<br />
                int valueG = pixels[j*4*w + i*4+1];<br />
                int valueB = pixels[j*4*w + i*4+2];</p>
<p>				// Get the RGB values based on drawing a circle<br />
				// Get the brightness of the pixels, which will correspond to the radius of the circle<br />
                ofSetColor(255, 0, 0, 63);<br />
                ofCircle(i, j, r*valueR/255.0*2.0);<br />
                ofSetColor(0, 255, 0, 63);<br />
                ofCircle(i, j, r*valueG/255.0*2.0);<br />
                ofSetColor(0, 0, 255, 63);<br />
                ofCircle(i, j, r*valueB/255.0*2.0);<br />
            }<br />
        }</p>
<p>    }<br />
}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::exit(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchDown(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchMoved(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchUp(ofTouchEventArgs &amp;touch){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::touchDoubleTap(ofTouchEventArgs &amp;touch){</p>
<p>	////UNCOMMENT/COMMENT AS NEEDED</p>
<p>	////If using Simulator: loading images</p>
<p>	//    photo.loadImage(&quot;images/photo.png&quot;);<br />
	//    photo.setImageType(OF_IMAGE_COLOR_ALPHA);<br />
	//    status = 1;</p>
<p>	////or to open Photo library in the simulator or actual device</p>
<p>	//camera-&gt;openLibrary();</p>
<p>	//When using real: a new photo shoot</p>
<p>    camera-&gt;openCamera();</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::lostFocus(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::gotFocus(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::gotMemoryWarning(){</p>
<p>}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
void testApp::deviceOrientationChanged(int newOrientation){</p>
<p>}<br />
[/sourcecode]</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-12.13.23-PM-1.png"><img class="alignnone size-full wp-image-12977" title="Pastebot 2010-11-11 12.13.23 PM 1" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-12.13.23-PM-1.png" alt="" width="320" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-12.13.23-PM-2.png"><img class="alignnone size-full wp-image-12976" title="Pastebot 2010-11-11 12.13.23 PM 2" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/Pastebot-2010-11-11-12.13.23-PM-2.png" alt="" width="320" height="480" /></a></p>
<h2>Conclusion</h2>
<p>As you can see, you can produce quite a lot with very little code indeed. Of course, this is just the beginning and if you were interested in building a real app out of any of the above examples you would also build an UI, buttons, help, etc. The &#8216;draw&#8217; method is your friend, from simple rectangles to make buttons to code in the touchdown such as:</p>
<p><!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ffffff} span.s1 {color: #d4009b} span.s2 {color: #8d7dd1} --><em>if(touch.x&gt;70 &amp;&amp; touch.x&lt;90 &amp;&amp; touch.y&gt;325 &amp;&amp; touch.y&lt;355) {</em></p>
<p><em>//somethings happens here</em></p>
<p><em>}</em></p>
<p>to define the click are where something might happen, such as opening the library of photos <em>(camera-&gt; openLibrary ()</em>; instead of <em>camera-&gt; openCamera ();</em>)</p>
<p>To see the full reference of commands, see <a href="http://www.openframeworks.cc/documentation">openFrameworks website</a>.</p>
<p>We hope this has been useful and provided a nice + quick introduction into openFrameworks on the iPhone. Any other tutorials you would like to see or if you have any questions please leave a comment below.</p>
<p><a href="http://www.creativeapplications.net/files/tutorials/of/0061/PhotoApp_oF_Tutorial.zip">DOWNLOAD TUTORIAL FILES</a></p>
<h2>Credits</h2>
<p>This tutorial first appeared on <a href="http://yoppa.org/iphone10/1163.html">http://yoppa.org</a>, created by Atsushi Tadokoro. Introduction and translation by Filip Visnjic with the help of google translate, together with few changes to make it easier for beginners (i hope).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativeapplications.net/iphone/camera-apps-iphone-tutorial-openframeworks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Process Compendium [Processing]</title>
		<link>http://www.creativeapplications.net/processing/process-compendium-processing/</link>
		<comments>http://www.creativeapplications.net/processing/process-compendium-processing/#comments</comments>
		<pubDate>Thu, 04 Nov 2010 21:23:25 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[Casey Reas]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[reas]]></category>

		<guid isPermaLink="false">http://www.creativeapplications.net/?p=12861</guid>
		<description><![CDATA[Process Compendium 2004-2010 is a collection of work and record of process by Casey Reas, co-founder of Processing, presented and created entirely in Processing. If you have seen Casey speak, this is another opportunity to examine and explore generative art Casey has been creating in the past few years. If you haven&#8217;t, (must) download links below. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium07.png"><img class="alignnone size-large wp-image-12870" title="processcompendium07" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium07-640x480.png" alt="" width="640" height="480" /></a></p>
<p><a href="http://reas.com/texts/processcompendium.html">Process Compendium 2004-2010</a> is a collection of work and record of process by Casey Reas, co-founder of <a href="http://processing.org/">Processing</a>, presented and created entirely in Processing. If you have seen Casey speak, this is another opportunity to examine and explore generative art Casey has been creating in the past few years. If you haven&#8217;t, (must) download links below.</p>
<p>Spoken by computer voice, you are taken on a journey by Casey through conditions, rules and elements that play a part in the creation of prints, sculptures Casey exhibited worldwide. From early examples of attributed behaviour to simple objects such as lines and circles to complex traces and colour trails these objects create, all resulting in beautiful compositions, captured as fragments of time.</p>
<p><em>An Element is a simple machine that is comprised of a Form and one or more Behaviors. A Process defines an environment for Elements and determines how the relationships between the Elements are visualized. For instance, Element 1 takes the form of a circle and one of its behaviors moves it along a straight line at a constant speed. Process 4 fills a surface with Element 1 and draws a line between elements while they overlap. Each Process is a short text that defines a space to explore through multiple interpretations. </em><a href="http://reas.com/texts/processcompendium.html">More..</a></p>
<p>Download: <a href="http://bit.ly/bcrRS7">Mac</a> | <a href="http://bit.ly/98ecdV">Windows</a></p>
<p>For more work, see <a href="http://reas.com/">reas.com</a></p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium01.png"><img class="alignnone size-large wp-image-12871" title="processcompendium01" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium01-640x480.png" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium02.png"><img class="alignnone size-large wp-image-12881" title="processcompendium02" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium02-640x480.png" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium03.png"><img class="alignnone size-large wp-image-12880" title="processcompendium03" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium03-640x480.png" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium04.png"><img class="alignnone size-large wp-image-12879" title="processcompendium04" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium04-640x480.png" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium05.png"><img class="alignnone size-large wp-image-12878" title="processcompendium05" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium05-640x480.png" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium06.png"><img class="alignnone size-large wp-image-12877" title="processcompendium06" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium06-640x480.png" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium08.png"><img class="alignnone size-large wp-image-12876" title="processcompendium08" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium08-640x480.png" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium09.png"><img class="alignnone size-large wp-image-12875" title="processcompendium09" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium09-640x480.png" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium10.png"><img class="alignnone size-large wp-image-12874" title="processcompendium10" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium10-640x480.png" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium12.png"><img class="alignnone size-large wp-image-12872" title="processcompendium12" src="http://www.creativeapplications.net/wp-content/uploads/2010/11/processcompendium12-640x480.png" alt="" width="640" height="480" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativeapplications.net/processing/process-compendium-processing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Spirits [iPad, iPhone, Games] &#8211; Preview</title>
		<link>http://www.creativeapplications.net/games/spirits-ipad-iphone-games-preview/</link>
		<comments>http://www.creativeapplications.net/games/spirits-ipad-iphone-games-preview/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 21:30:52 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[adventure]]></category>
		<category><![CDATA[andreaszecher]]></category>
		<category><![CDATA[AppStore]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[fantasy]]></category>
		<category><![CDATA[lemmings]]></category>
		<category><![CDATA[pixelate]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[spacesofplay]]></category>

		<guid isPermaLink="false">http://www.creativeapplications.net/?p=12782</guid>
		<description><![CDATA[The recent weeks have been hectic for Spaces of Play. In september Spirits was presented at the Sense of Wonder Night Event at the Tokyo Game Show, and recently at the IndieCade in LA Spirits won the award for “Best Aesthetics”. In case you missed our post from few weeks back, Spirits is the new game from Spaces [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/10/spirits_firstColor1.jpg"><img class="alignnone size-full wp-image-12797" title="spirits_firstColor" src="http://www.creativeapplications.net/wp-content/uploads/2010/10/spirits_firstColor1.jpg" alt="" width="640" height="306" /></a></p>
<p>The recent weeks have been <a href="http://www.spacesofplay.com/2010/10/indiecade-awards-and-sense-of-wonder/">hectic</a> for <a href="http://www.spacesofplay.com/">Spaces of Play</a>. In september <em>Spirits</em> was presented at the <a href="http://expo.nikkeibp.co.jp/tgs/2010/en/sown/">Sense of Wonder Night Event</a> at the Tokyo Game Show, and recently at the <a href="http://www.indiecade.com/">IndieCade</a> in LA Spirits won the award for “Best Aesthetics”. In case you missed our post from <a href="http://www.creativeapplications.net/games/spirits-iphone-games-preview/">few weeks back</a>, Spirits is the new game from <em>Spaces of Play, </em>a game studio based in Berlin. With the <a href="http://www.creativeapplications.net/games/mr-bounce-iphone-games/">Mr. Bounce</a> behind them (we loved it), the team is set to release their new beautiful wonder within 2 weeks. The development kicked off around March this year, a number of months have passed and the team has been hard at work to get their new game out of the door. It&#8217;s very exciting as I have been closely following the development and have finally had a chance to play with the &#8220;almost&#8221; final version due for release in the next few weeks. So, what is <em>Spirits?</em></p>
<p>Spirits is a Lemmings (<a href="http://en.wikipedia.org/wiki/Lemmings_(video_game)">wiki</a>) inspired action-puzzle game for the iPad, iPhone and iPod touch, in which you manipulate wind and ground elements to guide the Spirits towards the goal. This is done with four different actions: Blow or block wind, dig tunnels and grow bridges of leaves. Besides the sound and music which are completely done with orchestral musical instruments, Spirits includes beautifully <a href="http://www.spacesofplay.com/2010/04/how-the-art-style-for-spirits-evolved/">hand-drawn</a> graphics which give the game a unique poetic feel. If you have seen <a href="http://www.creativeapplications.net/games/limbo-games/">Limbo</a>, you will know exactly what this means. Foreground and background are played against one another, ie as you pan across your level they move in different speeds giving a sense of depth. Wind is represented using wonderfully light particles emitted both from the environment and spirits you assign this action to, all of this contributing to the beautiful environment to indulge and kill even most precious hours.</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/10/Spirits-5.png"><img class="alignnone size-large wp-image-12798" title="Spirits-5" src="http://www.creativeapplications.net/wp-content/uploads/2010/10/Spirits-5-640x480.png" alt="" width="640" height="480" /></a></p>
<p>The game kicks off with simple few levels introducing you to different actions. Presented one at the time you go through each early levels learning one action after the other. This helps getting to know which action to use to achieve the goal. As you reach level 20 or so, you&#8217;ll find that having all the actions available to you just makes it harder to pick which action to use. You tap on a spirit to assign action. The spirit is paused while other spirits continue to do their thing. In some situations you&#8217;ll have to act quickly, assigning actions to multiple spirits one after the other. Failure to do it correctly will cost your some lives hoping that you have enough left to complete the level. There is a minimum number of spirits you have to get to the vortex (doors) and should you waste more spirits than you are allowed you&#8217;ll not be able to pass the level. The game continues nevertheless allowing you to practice and try new things knowing that next time you play you&#8217;ll know where to be more careful. Early levels require maybe 4-5 goes to get it right. Level 29, the one I am currently playing, I think I played over 10 times and still no clue how to complete. The game is getting increasingly more difficult past level 20. Where ways to get to the vortex may have been somewhat easy to resolve in the earlier levels, this is now way more tricky. Too much wind will plummet spirits into their deaths, wrong turn will point them in the wrong direction or hole dug in the wrong place will get your spirits stuck having to use addition spirits to get them out of the problem. There is plenty of variety between the levels to keep you wondering about how to complete it. I am yet to arrive to a level where I may use similar technique. Each one is unique and although I haven&#8217;t played them all, I find them all challenging enough and at times somewhat a relief when the solution is easy to find.</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/10/spirits_sketch.jpg"><img class="alignnone size-full wp-image-12799" title="spirits_sketch" src="http://www.creativeapplications.net/wp-content/uploads/2010/10/spirits_sketch.jpg" alt="" width="640" height="480" /></a></p>
<p>The &#8220;light&#8221; music, together with carefully illustrated environment and beautiful details give Spirits an elegant and light touch feel. Touching ghosts is like dipping you finger in warm milk, careful to each and every one. Spirits are no angry birds and although some of your gosts will die, you will feel sad and emotional wanting to save each and every one. There is so much <a href="http://www.spacesofplay.com/2010/05/the-one-man-orchestra/">attention to detail</a> in this game that once you have finished it you will want to play it all over again &#8211; just for the looks. Considering there is also a score board, meaning each and every spirit counts towards your overall score (I am currently ranked 4 which I am sure this won&#8217;t last once the game is out) this should give you enough info to know how well you are doing. Also counting against your score are the plants you collected. In a lot of situations you&#8217;ll be able to complete the level without collecting all the plants so going back and going further will be something you want to do. I have been playing it for few days now, using every occasion I can regardless of whether it is 5 or 30 mins. Because the game is much about strategy as well correct play, every 5 minutes in the game is a step forward. Regardless of whether you are waiting for a bus or on a long journey, Spirits will definitely keep you entertained. If not completing the levels then trying out new strategies.</p>
<p>The game is schedules for submission tomorrow, meaning it will most probably be available in the AppStore within 2 weeks. Spirits will first appear on the iPad, followed by a release for the iPhone with support for iPhone 4 high res screen. We played with the iPhone version and although very similar to the iPad we expect to this be even more awesome on a retina display.</p>
<p>Made with Objective-C and C++.</p>
<p><em>Spaces of Play is a game studio based in Berlin. We are a group of independent game designers, visual artists and musicians that come together with the goal of creating great games. Our focus is on original ideas, gameplay and polish. We put our heart and soul into what we do, every pixel and sound bit has been hand-picked for your optimal experience. In short, we provide handcrafted independent games for the iPhone, iPod touch and iPad.</em></p>
<p>For latest updates <a href="http://www.facebook.com/pages/Spirits/315154505958">become a fan on Facebook</a>, or <a href="http://twitter.com/spacesofplay">follow on Twitter</a> and of course team&#8217;s development <a href="http://www.spacesofplay.com/blog/">blog</a>.</p>
<p><a href="http://spacesofplay.com/spirits/">spacesofplay.com/spirits/</a></p>
<p>Platform: iPad<br />
Version: 1.0<br />
Cost: $4.99<br />
Developer: <a href="http://spacesofplay.com/">spacesofplay</a><br />
<a href="http://clkuk.tradedoubler.com/click?p=23708&#038;a=1671662&#038;url=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fspirits-for-ipad%2Fid388636935%3Fmt%3D8%26uo%3D4%26partnerId%3D2003"><img style="border: 0px initial initial;" src="http://ax.phobos.apple.com.edgesuite.net/images/badgeitunes61x15dark.gif" border="0" alt="" width="61" height="15" /></a></p>
<p><iframe src="http://player.vimeo.com/video/15386280?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp;loop=1" width="640" height="480" frameborder="0"></iframe><a href="http://www.creativeapplications.net/wp-content/uploads/2010/10/Spirits-1.png"><img class="alignnone size-large wp-image-12800" title="Spirits-1" src="http://www.creativeapplications.net/wp-content/uploads/2010/10/Spirits-1-640x480.png" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/10/Spirits-2.png"><img class="alignnone size-large wp-image-12801" title="Spirits-2" src="http://www.creativeapplications.net/wp-content/uploads/2010/10/Spirits-2-640x480.png" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/10/Spirits-3.png"><img class="alignnone size-large wp-image-12802" title="Spirits-3" src="http://www.creativeapplications.net/wp-content/uploads/2010/10/Spirits-3-640x480.png" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/10/Spirits-4.png"><img class="alignnone size-large wp-image-12803" title="Spirits-4" src="http://www.creativeapplications.net/wp-content/uploads/2010/10/Spirits-4-640x480.png" alt="" width="640" height="480" /></a><iframe src="http://player.vimeo.com/video/11547013?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp;loop=1" width="640" height="512" frameborder="0"></iframe><a href="http://www.creativeapplications.net/wp-content/uploads/2010/04/4.jpg"><img class="alignnone size-full wp-image-8764" title="4" src="http://www.creativeapplications.net/wp-content/uploads/2010/04/4.jpg" alt="" width="640" height="309" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/04/3.jpg"><img class="alignnone size-full wp-image-8765" title="3" src="http://www.creativeapplications.net/wp-content/uploads/2010/04/3.jpg" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/04/1.jpg"><img class="alignnone size-full wp-image-8767" title="1" src="http://www.creativeapplications.net/wp-content/uploads/2010/04/1.jpg" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/04/2.jpg"><img class="alignnone size-full wp-image-8766" title="2" src="http://www.creativeapplications.net/wp-content/uploads/2010/04/2.jpg" alt="" width="640" height="480" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativeapplications.net/games/spirits-ipad-iphone-games-preview/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>SKTCH [iPhone, openFrameworks]</title>
		<link>http://www.creativeapplications.net/iphone/sktch-iphone-openframeworks/</link>
		<comments>http://www.creativeapplications.net/iphone/sktch-iphone-openframeworks/#comments</comments>
		<pubDate>Mon, 03 May 2010 11:48:29 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[CANApps]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[openFrameworks]]></category>
		<category><![CDATA[AppStore]]></category>
		<category><![CDATA[canapps]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[colour]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[drawing]]></category>
		<category><![CDATA[generative]]></category>

		<guid isPermaLink="false">http://www.creativeapplications.net/?p=9202</guid>
		<description><![CDATA[We are pleased to announce that the first official CreativeApplications.Net app is now available in the AppStore. SKTCH is a generative drawing application for the iPhone/iPod Touch featuring digital artists we got to know in the past few months, contributing their code to the initiative. SKTCH brings together a very talented group of people, some [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/05/SKTCHPost.png"><img class="alignnone size-full wp-image-9211" title="SKTCHPost" src="http://www.creativeapplications.net/wp-content/uploads/2010/05/SKTCHPost.png" alt="" width="640" height="180" /></a></p>
<p>We are pleased to announce that the first official CreativeApplications.Net app is now available in the AppStore. <a href="http://sktchapp.com/">SKTCH</a> is a generative drawing application for the iPhone/iPod Touch featuring digital artists we got to know in the past few months, contributing their code to the initiative. SKTCH brings together a very talented group of people, some that have been working with the code for a long time and others just getting to know it. The app was created using the wonderful <a href="http://www.openframeworks.cc/">openFrameworks</a>, organised in a way to allow different artists to contribute by providing &#8220;classes&#8221; which are then incorporated into the app by mainly drag and drop. Every class or what we like to call &#8220;preset&#8221; uses 6 variables. First three are simple RGB colours, having control over how the colours change in their preset. The other variables include &#8220;n&#8221; which we like to refer to as multiplier, &#8220;t&#8221; for transparency and &#8220;scl&#8221; for scale. Besides these 6 variables, it was totally up to the artists to explore possibilities. The only rule was that the preset could not be animated apart from when it is being drawn. It would have to come to a still eventually, examples being &#8220;TRIANGLE&#8221; and &#8220;FIREFLY&#8221;. The variables can be modified from the settings panel, allowing endless possibilities for each preset. If the values were not sufficient, ie too low, this was multiplied, ie &#8220;n*2&#8243; within their class. Once all the presets were all in place, it was then a matter of organising them in the &#8220;draw&#8221; method so they all overlay the best way possible.</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/05/SKTCH04.png"><img class="alignnone size-full wp-image-9212" title="SKTCH04" src="http://www.creativeapplications.net/wp-content/uploads/2010/05/SKTCH04.png" alt="" width="320" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/05/SKTCH05.png"><img class="alignnone size-full wp-image-9213" title="SKTCH05" src="http://www.creativeapplications.net/wp-content/uploads/2010/05/SKTCH05.png" alt="" width="320" height="480" /></a></p>
<p>You can combine presets you choose or explore each one individually by modifying the properties in the settings panel. Here is what is included:</p>
<p><strong>SQUARE</strong> &#8211; Simple square to get you started. Drag around the screen to see them multiply or adjust transparency to create fade effect. <strong> </strong></p>
<p><strong>CIRCLE</strong> &#8211; Another simple object (similar to square). <strong> </strong></p>
<p><strong>MESH</strong> &#8211; Generative mesh that connects line to previously drawn points creating a mesh style effect. Adjust the parameter to connect older points to reduce mesh extent. <strong> </strong></p>
<p><strong>DEPTH AND WIDTH</strong> &#8211; Parameter created by <a href="http://www.nanikawa.com/">Andres Müller</a>, play or words, use options to set width between the letters. <strong> </strong></p>
<p><strong>NETWORK</strong> &#8211; draw circles connected by centre points, size of the circle is defined by it&#8217;s distance to previous point. Great preset for multitouch, creating some very unexpected but beautiful results. <strong> </strong></p>
<p><strong>TRIANGLE</strong> draws beautiful generative triangles by connecting points emitted using particles.</p>
<p>Thanks to <a href="http://www.kimasendorf.com">Kim Asendorf</a> for both <strong>ASENDORF</strong> and <strong>SIX POINTS</strong> unique presets to Kim&#8217;s work. Adjust scale, span between the points and direction of pattern.</p>
<p><strong>JOCABOLA</strong> is a simple but beautiful preset playing with the circle resolution. Create triangles/squares/pentagons and much more. Brought to you by <a href="http://www.jocabola.com/">Eduard Prats Molner</a>. <strong> </strong></p>
<p><strong>FIREFLY</strong> also by <a href="http://www.jocabola.com/">Eduard</a>, a particle driven preset using jocabola as the primary element.</p>
<p><strong>CROSS</strong> is a preset by <a href="http://www.deffekt.ch/">Martin Fuchs (deffekt)</a> allowing you to create crosses and alter their size and look. Wonderful blend of color as you draw them.</p>
<p><strong>KIEBITZ</strong> by <a href="http://www.undef.ch/">Philip Whitfield (underdoeg)</a>, inspired by footprint of a bird draws amazing lines almost feeling three dimensional and last but not least;</p>
<p>Two wonderful presets from <a href="http://mike-tucker.com/">Mike Tucker</a>; <strong>PHASE</strong> a simple weave of lines and <strong>ORBIT</strong> galaxy like swarm effect.</p>
<p><strong>Some Tips &amp; Tricks:</strong></p>
<p># Each preset works in a unique way. Explore each one seeing how settings change them. Don&#8217;t forget to try multitouch, works great on presets like Network, Jocabola or Kibbits.<br />
# Use random button to generate variations on your current sketch.<br />
# Mix and match different presets together, see them change in realtime as you modify the parameters.<br />
# Take photos and make them background for your sketches.<br />
# Try layering compositions by capturing screen of your current sketch and importing it as a background from your photo library.</p>
<p>We would like to think of this just as the beginning. We already have a number of other artists lined up to create presets for future versions. We thought 14 was a great number to start with but we hope this number will grow, doubling and tripling over the next few months. We also have other plans for SKTCH and these include a desktop app and of course an iPad app. Rather than just porting what we already have, we would like to explore opportunities that each platform provides so expect something special from each version. We would not like to discuss details just yet, but be sure that it&#8217;s going to be awesome.</p>
<p><strong>Why purchase?</strong> <a href="http://sktchapp.com/">SKTCH</a> is one of many apps we hope to publish in the future. We are already talking to a few artists about publishing apps for them. We believe CAN is a great place to gather both those interested in creative app development and those that love making things. By purchasing SKTCH and future apps that come from CAN you are not only supporting this blog but also helping promote creative app development. So please, if you haven&#8217;t already, head over to the AppStore and purchase SKTCH. For only $1.99 we hope it will bring you as much enjoyment as it has to us developing it.</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/04/appstore.png"><img class="size-full wp-image-9067 alignnone" title="appstore" src="http://www.creativeapplications.net/wp-content/uploads/2010/04/appstore.png" alt="" width="154" height="52" /></a></p>
<p>If you are interested in CreativeApplications.Net helping bring YOUR apps to the right audience or if you would like to contributre code to future version of SKTCH, please drop us a message at info[at]creativeapplications.net.</p>
<p>If you would like to suggest features or artists for future version of <a href="http://sktchapp.com/">SKTCH</a>, please head over to our <a href="http://getsatisfaction.com/creativeapps/topics/new">GetSatisfaction page</a> and leave a comment.</p>
<p>Please also if you like SKTCH then why not help us with a <a href="http://twitter.com/home?status=I%20have%20SKTCH%20and%20so%20should%20you!%20/iPhone%20app%20by%20@creativeapps">TWEET</a> to get it onto as many iPhones and iPod Touches as possible!</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=10927126&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=800000&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="640" height="360" src="http://vimeo.com/moogaloop.swf?clip_id=10927126&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=800000&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><a href="http://www.creativeapplications.net/wp-content/uploads/2010/05/SKTCH02.png"><img class="alignnone size-full wp-image-9216" title="SKTCH02" src="http://www.creativeapplications.net/wp-content/uploads/2010/05/SKTCH02.png" alt="" width="320" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/05/SKTCH03.png"><img class="alignnone size-full wp-image-9217" title="SKTCH03" src="http://www.creativeapplications.net/wp-content/uploads/2010/05/SKTCH03.png" alt="" width="320" height="480" /></a></p>
<div id="PictoBrowser100502121313">Get the flash player here: http://www.adobe.com/flashplayer</div>
<p><script src="http://www.db798.com/pictobrowser/swfobject.js" type="text/javascript"></script><script type="text/javascript">// <![CDATA[
   var so = new SWFObject("http://www.db798.com/pictobrowser.swf", "PictoBrowser", "640", "615", "8", "#000000"); so.addVariable("source", "groups"); so.addVariable("names", "SKTCH"); so.addVariable("userName", "filipx"); so.addVariable("userId", "83397545@N00"); so.addVariable("ids", "1404701@N23"); so.addVariable("titles", "off"); so.addVariable("displayNotes", "off"); so.addVariable("thumbAutoHide", "off"); so.addVariable("imageSize", "medium"); so.addVariable("vAlign", "mid"); so.addVariable("vertOffset", "1"); so.addVariable("colorHexVar", "000000"); so.addVariable("initialScale", "off"); so.addVariable("bgAlpha", "8"); so.write("PictoBrowser100502121313");
// ]]&gt;</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativeapplications.net/iphone/sktch-iphone-openframeworks/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Spirits [iPhone, Games] &#8211; Preview</title>
		<link>http://www.creativeapplications.net/games/spirits-iphone-games-preview/</link>
		<comments>http://www.creativeapplications.net/games/spirits-iphone-games-preview/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 22:10:30 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[andreaszecher]]></category>
		<category><![CDATA[AppStore]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[pixelate]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[spacesofplay]]></category>

		<guid isPermaLink="false">http://www.creativeapplications.net/?p=8760</guid>
		<description><![CDATA[Andreas Zecher of pixelate.de and our new guest writer has provided us with few details about the upcoming game Spirits he is working on together with Mattias Ljungström, the programmer and lead game designer who also did the iPhone version of Mr. Bounce. Marek Plichta is also with the team who did the hand-drawn pixel [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/04/5.jpg"><img class="alignnone size-full wp-image-8763" title="5" src="http://www.creativeapplications.net/wp-content/uploads/2010/04/5.jpg" alt="" width="640" height="309" /></a></p>
<p>Andreas Zecher of <a href="http://pixelate.de">pixelate.de</a> and our new guest writer has provided us with few details about the upcoming game <em>Spirits</em> he is working on together with Mattias Ljungström, the programmer and lead game designer who also did the iPhone version of <a href="http://www.creativeapplications.net/games/mr-bounce-iphone-games/">Mr. Bounce</a>. Marek Plichta is also with the team who did the hand-drawn pixel graphics for <a href="../flash/the-black-forest-flash-games/">The Black Forest</a> is responsible for the art (<a href="http://marek.monoid.net/" target="_blank">http://marek.monoid.net</a>). Martin Straka (<a href="http://www.martinstraka.de/" target="_blank">http://www.martinstraka.de</a>) is doing the sound design who also did the music for <a href="http://www.creativeapplications.net/games/mr-bounce-iphone-games/">Mr. Bounce</a> and <a href="http://www.creativeapplications.net/flash/the-black-forest-flash-games/">The Black Forest</a>.</p>
<p>Andreas writes:<br />
<em>The game lends some basic gameplay mechanics from Lemmings-style games, but has a very different graphical style and atmosphere. Players can manipulate the wind in the game world and guide the spirits towards the exit of each level using four different actions: Blow wind, suck in wind, dig tunnels and build bridges.</em></p>
<p>Spirits will be released under the Spaces Of Play label and we will post updates about the development progress. To follow the development, see also <a href="http://www.spacesofplay.com/" target="_blank">http://www.spacesofplay.com</a> and on Twitter under <a href="http://twitter.com/spacesofplay">@spacesofplay</a>.</p>
<p>In case you missed it, Andreas has done a <a href="http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/">fantastic post on CAN</a> about Flixel, an open source game library for Flash. An in depth tutorial on how to create a defender style game with code examples and source download. If you are interested in creating games Flixel is a great start.</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/04/4.jpg"><img class="alignnone size-full wp-image-8764" title="4" src="http://www.creativeapplications.net/wp-content/uploads/2010/04/4.jpg" alt="" width="640" height="309" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/04/3.jpg"><img class="alignnone size-full wp-image-8765" title="3" src="http://www.creativeapplications.net/wp-content/uploads/2010/04/3.jpg" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/04/1.jpg"><img class="alignnone size-full wp-image-8767" title="1" src="http://www.creativeapplications.net/wp-content/uploads/2010/04/1.jpg" alt="" width="640" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/04/2.jpg"><img class="alignnone size-full wp-image-8766" title="2" src="http://www.creativeapplications.net/wp-content/uploads/2010/04/2.jpg" alt="" width="640" height="480" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativeapplications.net/games/spirits-iphone-games-preview/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PRTCL [iPhone, openFrameworks]</title>
		<link>http://www.creativeapplications.net/iphone/prtcl-iphone-openframeworks/</link>
		<comments>http://www.creativeapplications.net/iphone/prtcl-iphone-openframeworks/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 15:04:20 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[CANApps]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[openFrameworks]]></category>
		<category><![CDATA[AppStore]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[decode]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[dynamics]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[particles]]></category>
		<category><![CDATA[v&a]]></category>

		<guid isPermaLink="false">http://www.creativeapplications.net/?p=8068</guid>
		<description><![CDATA[Last weekend I took part in the openFrameworks Lab organised as a part of Decode exhibition at the Victoria and Albert Museum in London. With about 30 people taking part, we were devided in 6 groups where I joined the Drawing Tool Jam group with Zach Lieberman &#8211; inspired by Rhonda. Other groups included Homemade [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-8077" title="prtcl00" src="http://www.creativeapplications.net/wp-content/uploads/2010/03/prtcl00.png" alt="" width="640" height="180" /></p>
<p>Last weekend I took part in the <a href="http://www.openframeworks.cc/">openFrameworks</a> Lab organised as a part of <a href="http://www.vam.ac.uk/microsites/decode/">Decode</a> exhibition at the Victoria and Albert Museum in London. With about 30 people taking part, we were devided in 6 groups where I joined the Drawing Tool Jam group with Zach Lieberman &#8211; inspired by <a href="http://rhondaforever.com/">Rhonda</a>. Other groups included <a href="http://www.instructables.com/id/Structured-Light-3D-Scanning/">Homemade 3D Scanner</a> with Kyle McDonald, Scaletrix Hacking with Gavin Morris, Human Pong by Benjamin Knofe, Reactickles / iPhone <a href="http://www.reactivecolours.org/">Reactickles</a> by Dimitrios Zampelis with Joel Gethin Lewis and <a href="http://www.peopleonpop.org/">People on Pop</a>, Kikko (Diagne Cyril) with Andreas Müller. First day included an introduction to oF and followed with another 2 days of coding + experiments and tutorials. You can find out more information on <a href="http://wiki.openframeworks.cc/index.php?title=OFLab_London_Decode">this Wiki page</a>.</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/03/example.png"><img class="size-thumbnail wp-image-8079 alignleft" title="example" src="http://www.creativeapplications.net/wp-content/uploads/2010/03/example-160x160.png" alt="" width="160" height="160" /></a>Our group started from a simple example where by moving the mouse on screen a number of points were created and connected (<a href="http://www.fvda.co.uk/files/oflab/drawingExample1b.zip">download</a> XCode example file). My intention was to add circles to these so as you paned across the screen the circles would be generated. The next step was to play with some values. For example when the mouse position was at the top of the screen, ie y value being low the circle radius would small and when the circles were at the bottom the of the screen they would appear much larger. The similar was applied to the circle colour. RGB values were changing as the circles were moving position. This is something that was kept throughout the app dev and you can see in the &#8220;final&#8221; version.</p><pre class="crayon-plain-tag"><code>[/text]&quot;]//testapp.cpp //draw

// example for different circle properties changing acording to circle position
for (int i = 0; i &amp;lt; pts.size(); i++){
//&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;ofCircle(pts[i].x, pts[i].y, (pts[i].y)*0.2);
ofCircle(pts[i].x, pts[i].y, q*200);
ofSetColor(((pts[i].y)*1), ((pts[i].y)*0.25), 0);
ofFill();</code></pre><p>Next step was to extend the edges of the app, ie when you moved the mouse beyond the edges the drawing would continue. This was done with the simple 2 lines of code. The amount could be increased or decreased to create desired effect.</p><pre class="crayon-plain-tag"><code>[/text]&quot;]//testapp.cpp //update // same was done for particles[i].pos
pts[i].y += sin(ofGetElapsedTimef()) * 1.25;
pts[i].x += cos(ofGetElapsedTimef()) * 1.25;</code></pre><p>Because the group was generally exploring alternative ways of controlling the drawing (other than mouse), I decided to implement OSC control and try to control the particles from the iPhone. The OSC example located in oF ad-on examples folder contained all the information/code needed to make this happen. It was a matter of copying and pasting the code and seeing the values generated using <a href="http://www.msavisuals.com/">Memo Akten</a>&#8216;s <a href="http://www.creativeapplications.net/iphone/msa-remote-iphone/">MSARemote</a> application for the iPhone. With the bare copy and paste and accelerometer turned on, we could observe values that were being parsed. With the help of Zach Lieberman, we managed to isolate only the values we needed and map these onto the mouse movement. The accelerometer data was mapped the same way allowing this value to be assigned to the screen movement. Interestingly, something we didn&#8217;t expect was that you could now control the particles using more than one iPhone. Of course, accelerometer needed to be switched on on a single iPhone only as if it was controlled by multiple the conflict would occur, ie two people or move moving the scene in opposite directions.</p><pre class="crayon-plain-tag"><code>[/text]&quot;]//testapp.cpp //update // code for the OSC messages - mapping to mouse controls

if (m.getNumArgs() &amp;gt; 3){
// both the arguments are int32's
//int nothing = m.getArgAsInt32( 0 );
int id  = m.getArgAsInt32( 1 );
float x = m.getArgAsFloat( 2 );
float y = m.getArgAsFloat( 3 );
cout &amp;lt;&amp;lt; id &amp;lt;&amp;lt; &quot; &quot; &amp;lt;&amp;lt; x &amp;lt;&amp;lt; &quot; &quot; &amp;lt;&amp;lt; y &amp;lt;&amp;lt; endl;
mouseDragged( x * ofGetWidth(), y * ofGetHeight(), 0);
}</code></pre><p><p><p>
<a href="http://www.creativeapplications.net/wp-content/uploads/2010/03/prtcl_desktop03.png"><img class="alignnone size-large wp-image-8078" title="prtcl_desktop03" src="http://www.creativeapplications.net/wp-content/uploads/2010/03/prtcl_desktop03-640x400.png" alt="" width="640" height="400" /></a></p>
<p>Porting the code to iPhone worked in about 10 minutes. It was as easy as drag and drop particle class .h and .cpp files, copy an paste code from the main .cpp and .h files  and compile and run in emulator. Deploying it to the iPhone would have also worked great first time but because I haven&#8217;t done it for a while I realised that my iPhone OS was newer than the Xcode version. I had to download the latest version of Xcode (all 2.7gigs), install it and then deploy to device worked perfect.<br />
Once I was able to test it on the iPhone I found that screen space and orientation made the circular motion slightly too slow. Multiplying these values fixed this. Another issue was performance which to this day is probably still a bit of a problem. Because on the desktop the particles never die, I knew that on the iPhone this would be an issue. With the help of <a href="http://www.stfj.net/">Zach Gage</a> over iChat, we added a code which made old particles disappear when amount of the would go over a certain number. What you see now in the iPhone app is about 200 particles generated from points which over time disappear. Using multitouch, ie more than one finger at the time makes this happen faster as a double or triple amount of particles are created on a single swipe. Things do go a little hectic if you use four fingers but there is something quite nice about complexity that occurs.</p><pre class="crayon-plain-tag"><code>[/text]&quot;]//App.cpp // update / making particle lifespan

for(int i=particles.size()-1;i&amp;gt;=0;i--)
{
if(particles[i].life &amp;gt; 60*2)
{
particles.erase(particles.begin()+i);
}</code></pre><p><p><p><p>
While it was my intention to replace automated circular motion with accelerometer data, ie as you tilt your iPhone the screen would pan, allowing you to draw endlessly in screen space (like the desktop app), the accelerometer effect creates confusion, ie when you tilt your iPhone it&#8217;s hard to keep an eye on what is happening. In addition, because your fingers cover the large area of the screen you would miss particle events.</p>
<p>The last touches to the iPhone app included a separate clear button at the bottom right of the screen and little instruction about double tap. The clear button is a simple instruction if the mouse is pressed and is in this location of the screen them clear:</p><pre class="crayon-plain-tag"><code>[/text]&quot;]//App.cpp // touchDown / clearing the screen
if(x&amp;gt;290 &amp;amp;&amp;amp; x&amp;lt;290+30 &amp;amp;&amp;amp; y&amp;gt;450 &amp;amp;&amp;amp; y&amp;lt;450+30)
{
pts.clear();
particles.clear();
}

&lt;pre&gt;//App.cpp // touchDoubleTap / unhiding the info panel
hello.bVisible = !hello.bVisible;</code></pre>
</pre>
<p>Posting to the AppStore took some time, probably more time than adding some of the UI. Luckily, Zach Gage was on iChat to help out although managing to apply right distribution certificates needed some effort. While until now I have been using development certificate, I needed to add the app to distribution profile and download new distribution certificate. Double tapping on the executable on Xcode would bring up info panel where the now new distribution certificate needed to be assigned. Once that was done, the upload of the binary to iTunes Connect worked just fine. Another small weirdness was the large icon. Apple asks for 512&#215;512 image, where my icon was generated from the desktop app the detail and quality was much lower. The question was whether to recreate the icon from scratch or just blow up (increase the res) suffering the poor quality of image if viewed at full res. I went with blow up even though the image looked pretty bad at full res. Considering that apple would never use that image at it&#8217;s full resolution I thought that would be fine.</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2010/03/prtcl01scr.jpg"><img class="alignnone size-full wp-image-8081" title="prtcl01scr" src="http://www.creativeapplications.net/wp-content/uploads/2010/03/prtcl01scr.jpg" alt="" width="320" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/03/prtcl02scr.jpg"><img class="alignnone size-full wp-image-8082" title="prtcl02scr" src="http://www.creativeapplications.net/wp-content/uploads/2010/03/prtcl02scr.jpg" alt="" width="320" height="480" /></a></p>
<p>You can <a href="http://www.fvda.co.uk/files/oflab/ptcle%20osc%202.zip">download the full source</a> for the desktop app here (note you will need <a href="http://www.creativeapplications.net/iphone/msa-remote-iphone/">MSARemote</a> to control the screen panning &#8211; without you will only see the partices)</p>
<p><a href="http://www.fvda.co.uk/files/oflab/PRTCL_Desktop_1.0.zip">Download the Mac OSX Only Desktop app here</a></p>
<p>You can <a href="http://www.fvda.co.uk/files/oflab/prtcliPhone%201.0.zip">download the iPhone source</a> or the version currently in the AppStore.The app is free and you can download it here:</p>
<p><a href="http://clk.tradedoubler.com/click?p=23708&amp;a=1671662&amp;url=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fprtcl%2Fid359060528%3Fmt%3D8%26uo%3D6%26partnerId%3D2003"><img src="http://ax.phobos.apple.com.edgesuite.net/images/badgeitunes61x15dark.gif" border="0" alt="" width="61" height="15" /></a></p>
<p>If you have any comments or questions, please leave a comment below.<br />
If there are additional features you would like to see, please <a href="http://nokahuna.com/projects/10961/tasks?category=40934">add a task here on NoKahuna</a> for consideration.</p>
<p>Thanks to <a href="http://www.joelgethinlewis.com/">Joel Gethin Lewis</a>, <a href="http://www.thesystemis.com/">Zach Lieberman</a>, <a href="http://kylemcdonald.net/">Kyle McDonald</a>, <a href="http://arturocastro.net">Arturo Castro</a>, <a href="http://www.hahakid.net/">Andreas Müller</a>, <a href="http://www.jocabola.com/splash09/">Eduard Prats Molner</a>, <a href="http://www.stfj.net/">Zach Gage</a>, <a href="http://www.onedotzero.com/">onedotzero</a> and <a href="http://www.vam.ac.uk/microsites/decode/">Victoria and Albert Museum</a>.</p>
<p>Created with openFrameworks.<br />
For information on openFrameworks see <a href="http://openframeworks.cc">http://openframeworks.cc</a><br />
For information on past and future workshops see <a href="http://wiki.openframeworks.cc">http://wiki.openframeworks.cc</a></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=9883287&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="640" height="400" src="http://vimeo.com/moogaloop.swf?clip_id=9883287&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=9882942&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="640" height="360" src="http://vimeo.com/moogaloop.swf?clip_id=9882942&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><a href="http://www.creativeapplications.net/wp-content/uploads/2010/03/prtcl_desktop01.png"><img class="alignnone size-large wp-image-8083" title="prtcl_desktop01" src="http://www.creativeapplications.net/wp-content/uploads/2010/03/prtcl_desktop01-640x400.png" alt="" width="640" height="400" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2010/03/prtcl_desktop02.png"><img class="alignnone size-large wp-image-8084" title="prtcl_desktop02" src="http://www.creativeapplications.net/wp-content/uploads/2010/03/prtcl_desktop02-640x400.png" alt="" width="640" height="400" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativeapplications.net/iphone/prtcl-iphone-openframeworks/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>iProcessing [iPhone, Processing]</title>
		<link>http://www.creativeapplications.net/iphone/iprocessing-iphone-processing/</link>
		<comments>http://www.creativeapplications.net/iphone/iprocessing-iphone-processing/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 17:02:27 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.creativeapplications.net/?p=7716</guid>
		<description><![CDATA[Tom Hulbert and Luckybite have just released details including the download of long awaited port of Processing.js library to iPhone SDK. The new iProcessing is an open programming framework to help people develop native iPhone applications using the Processing language. The iProcessing download consists of a set of example XCode projects that demonstrate many of the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-7720" title="iprocessing00" src="http://www.creativeapplications.net/wp-content/uploads/2010/02/iprocessing00.png" alt="" width="640" height="180" /></p>
<p>Tom Hulbert and <a href="http://www.luckybite.com/home.html">Luckybite</a> have just released details including the download of long awaited port of Processing.js library to iPhone SDK. The new <a href="http://luckybite.com/iprocessing/"><em>iProcessing</em></a> is an open programming framework to help people develop native iPhone applications using the <a href="http://processing.org/">Processing</a> language.</p>
<p><em>The iProcessing <a href="iProcessing-0003.zip">download</a> consists of a set of example XCode projects that demonstrate many of the Basic Examples from the <a href="http://processing.org/learning/basics">Processing</a> web site (originally written by <a href="http://reas.com/">Casey Reas</a> and <a href="http://benfry.com/">Ben Fry</a>) as well a number that demonstrate the use of various iPhone features such as multitouch, accelerometer, orientation, location, sound play/record, app state saving and so on.<a href="http://processingjs.org/"> Processing.js</a> is a port of the Processing langauge to Javascript by <a href="http://ejohn.org/">John Resig</a> and is intended for people who want to program images, animation, and interactions for the web in Processing without the use of Java applets. Processing.js uses Javascript to draw shapes and manipulate images on the <a href="http://dev.w3.org/html5/spec/Overview.html">HTML5</a> Canvas element.</em></p>
<p>To get started with iProcessing, follow the link here to download various examples. Each example has a .xcodeproj XCode project file.<br />
Open this file in XCode and once open you&#8217;ll see a folder called &#8220;main&#8221; in &#8220;Groups &amp; Files&#8221; on the left side of XCode. Drop down the &#8220;main&#8221; folder and here you&#8217;ll see a file called &#8220;main.pde&#8221;. This is where you write your Processing code. To run in iPhone simulator you just need to click build and you&#8217;re off. If you would like to deploy this to your phone, the process is the same as with other iPhone xcode projects. With the examples, first make sure you code is signed by going into &#8220;Targets&#8221;, openning the folder and double clicking on the executable to be. Under the code signing idenity you will need to specify the correct certificate. Once you have done this, you will be able to deploy to your device (note, you will have to be registered as iPhone developer with Apple to be able to obtain a correct certificate and deploy apps to your iPhone).</p>
<p>Unfortunately, I had problems with the apps deployed to device &#8211; they do not seem to go beyond the splash screen where in emulator they work fine. Maybe you&#8217;ll have more luck + please report in the comments below.</p>
<p><a href="http://itunes.com/apps/birdbox">BirdBox</a> is a free app by Luckybite that was prototyped using iProcessing. BirdBox turns your iPhone or iPod Touch into a physical nesting box alarm clock. Tap the screen anytime to see the nesting birds inside and charge your iPhone while you sleep to wake up with the birds.</p>
<p>To find out more info about <em>iProcessing </em>and download the examples see <a href="http://luckybite.com/iprocessing/">luckybite.com/iprocessing/</a></p>
<p><em><a href="http://www.luckybite.com/home.html">Luckybyte</a> is a LOndon based product design and innovation company owned and managed by Durell Bishop and Tom Hulbert.</em></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="505" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/tENliJSMEB8&amp;hl=en_GB&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="505" src="http://www.youtube.com/v/tENliJSMEB8&amp;hl=en_GB&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object><a href="http://www.creativeapplications.net/wp-content/uploads/2010/02/main.pde-Collision.jpg"><img class="alignnone size-large wp-image-7721" title="main.pde - Collision" src="http://www.creativeapplications.net/wp-content/uploads/2010/02/main.pde-Collision-640x454.jpg" alt="" width="640" height="454" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativeapplications.net/iphone/iprocessing-iphone-processing/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>NUI Framework &#8211; ObjectiveC Alternatives [iPhone, C++]</title>
		<link>http://www.creativeapplications.net/iphone/nui-framework-objectivec-alternatives-iphone-c/</link>
		<comments>http://www.creativeapplications.net/iphone/nui-framework-objectivec-alternatives-iphone-c/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 17:58:49 +0000</pubDate>
		<dc:creator>David Wallin</dc:creator>
				<category><![CDATA[c++]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[AppStore]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[creativecode]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://www.creativeapplications.net/?p=6919</guid>
		<description><![CDATA[iPhone development is red hot right now, with thousands of individual developers and big brands trying to carve out a miniscule piece of the Apple&#8217;s rather large pie for themselves. Aside from the profit aspect, there are many creative programmers looking to experiment with a powerful, hand-held, multitouch multitouch device. With it&#8217;s advanced features, such [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.creativeapplications.net/wp-content/uploads/2009/12/nuidev.png"><img class="alignnone size-full wp-image-6930" title="nuidev" src="http://www.creativeapplications.net/wp-content/uploads/2009/12/nuidev.png" alt="" width="640" height="180" /></a></p>
<p>iPhone development is red hot right now, with thousands of individual developers and big brands trying to carve out a miniscule piece of the Apple&#8217;s rather large pie for themselves. Aside from the profit aspect, there are many creative programmers looking to experiment with a powerful, hand-held, multitouch multitouch device. With it&#8217;s advanced features, such as audio input / output, accelerometer, wifi, bluetooth, and location awareness, the iPhone really is a device that many people have been dreaming about for years. To program for the iPhone, a developer typically has to learn <a href="http://en.wikipedia.org/wiki/Objective-C">ObjectiveC</a> and it doesn&#8217;t hurt to know some C / C++ since a lot of iPhone libraries are written in that.</p>
<p>ObjectiveC is an object oriented language like any other, and takes a little time to become familiar with it, due to it&#8217;s specific brand of memory management and unique syntax.</p>
<p>The interface framework (<a href="http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIKit_Framework/index.html">UIKit</a>) is good and very well suited to touch devices, though it&#8217;s clear that Apple doesn&#8217;t really want people to mess with it. Trying to change the look and feel of built in components can be a real challenge (or be downright impossible) sometimes, since the source code to those components is not available.</p>
<p>People looking to get the best possible performance or write cross-platform code will find that plain ObjectiveC has trouble meeting those goals.</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2009/12/nui.png"><img class="alignnone size-large wp-image-6923" title="nui" src="http://www.creativeapplications.net/wp-content/uploads/2009/12/nui-640x304.png" alt="" width="640" height="304" /></a></p>
<p>For these reasons, I chose to look for an alternative that would let me work mostly in C++ which I am already very familiar with. The one I decided on was the <a href="http://www.libnui.net/">libNUI</a> framework. Having worked extensively with <a href="http://www.rawmaterialsoftware.com/juce/">Juce</a>, I&#8217;ve come to appreciate the value of a comprehensive cross-platform framework that compiles under Mac, Linux and PC and provides abstracted access to low-level hardware such as audio, networking and graphics. LibNUI offers the same thing &#8211; a set of code that handles all the OS specific stuff for you, and provides you with a set of GUI widgets that can be easily extended or modified to meet your needs. It also provides you with the full source code so you can see how everything works and make your own changes. Since it&#8217;s 99% written in C++, performance for stuff like audio is very good. Plus, I can compile the same application on my Mac desktop, my PC or my Linux box and it works with minimal changes. I&#8217;ve currently written two iPhone apps using libNUI &#8211; <a href="http://www.bleepboxapp.com/">bleep!BOX</a> and <a href="http://www.bleepsynthapp.com/">bleep!Synth</a>. I am currently exploring a Mac/PC VST version of bleep!BOX as well, and was able to get it compiled and running in only a couple hours.</p>
<p><a href="http://www.bleepboxapp.com/"><img title="bleepbox01" src="http://www.creativeapplications.net/wp-content/uploads/2009/12/bleepbox01-e1262109112925-320x213.jpg" alt="" width="320" height="213" /></a><a href="http://www.bleepboxapp.com/"><img title="bleepbox02" src="http://www.creativeapplications.net/wp-content/uploads/2009/12/bleepbox02-e1262109175796-320x213.jpg" alt="" width="320" height="213" /></a></p>
<p>Some caveats about libNUI &#8211; it&#8217;s still very heavily under  development and things are being added and fixed all the time. Documentation is a little sparse but it&#8217;s getting better. There are tutorial applications you can build to learn your way around. But if you are not comfortable digging into code and figuring out how it works, libNUI may not be for you. Expect to spend several days just learning how things work.</p>
<p>For those looking to experiment with graphics and sound, there is also <a href="http://www.openframeworks.cc/">Open Frameworks</a> which was used in <a href="http://www.creativeapplications.net/environment/physical-sequencer-aka-thump-of-sound-iphone/">the Thump</a> app. It&#8217;s a very basic framework around OpenGL and audio/networking protocols. It&#8217;s nowhere near as exhaustive as libNUI, but if you want something basic that you can pick up quickly, OF is a good option. Like libNUI, it&#8217;s also cross platform and open source (and C++).</p>
<p><a href="http://www.openframeworks.cc/"><img class="alignnone size-full wp-image-6924" title="of" src="http://www.creativeapplications.net/wp-content/uploads/2009/12/of.png" alt="" width="640" height="98" /></a></p>
<p>If games are what you&#8217;d like to get into, a couple of the major open source 3d engines, <a href="http://www.ogre3d.org/">Ogre3D</a> and <a href="http://www.irrlicht3d.org/">Irrlicht</a> now compile on the iPhone. No doubt they can be used for creative coding too.</p>
<p>Have another iPhone framework that we missed? Post it in the comments.</p>
<p><a href="http://www.bleepsynthapp.com/"><img class="alignnone size-full wp-image-6927" title="bleepsynth00" src="http://www.creativeapplications.net/wp-content/uploads/2009/12/bleepsynth00.png" alt="" width="640" height="426" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativeapplications.net/iphone/nui-framework-objectivec-alternatives-iphone-c/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Noby Noby Boy [iPhone, Games]</title>
		<link>http://www.creativeapplications.net/games/noby-noby-boy-iphone-games/</link>
		<comments>http://www.creativeapplications.net/games/noby-noby-boy-iphone-games/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 19:51:42 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[AppStore]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[ps3]]></category>

		<guid isPermaLink="false">http://www.creativeapplications.net/?p=5673</guid>
		<description><![CDATA[AppStore now counts about 500-800 daily releases/updates and with the recent news about Flash developers joining the ride, finding exciting new releases in the AppStore is going to become increasingly difficult. This is why rely on other blogs to get information directly from the developers and hopefully find jewels amongst the thousands of apps being [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.creativeapplications.net/wp-content/uploads/2009/10/nobyiphone.jpg"><img class="alignnone size-full wp-image-5674" title="nobyiphone" src="http://www.creativeapplications.net/wp-content/uploads/2009/10/nobyiphone.jpg" alt="nobyiphone" width="640" height="540" /></a></p>
<p>AppStore now counts about 500-800 daily releases/updates and with the recent news about <a href="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/">Flash developers</a> joining the ride, finding exciting new releases in the AppStore is going to become increasingly difficult. This is why rely on other blogs to get information directly from the developers and hopefully find jewels amongst the thousands of apps being released in the appstore.</p>
<p>We recently mentioned <a href="http://www.creativeapplications.net/iphone/power-pill-iphone-news/">Polytron&#8217;s Power Pill</a>, currently in development and soon to be released one of the games we really are looking forward to. Another title that deservers special attention is <a href="http://en.wikipedia.org/wiki/Noby_Noby_Boy">Noby Noby Boy</a> from <a href="http://o--o.jp/">Keita Takahashi</a>.</p>
<p>Keita first <a href="http://www.offworld.com/2009/09/touch-boy-namco-reveals-wip-sc.html">revealed his intentions</a> to create an iPhone version of the <a href="http://uk.ps3.ign.com/objects/950/950617.html">PS3 downloadable</a> at this year&#8217;s Game Developers Conference. <em>More of a virtual playground than a game</em><a href="http://fingergaming.com/2009/10/13/first-iphone-noby-noby-boy-screenshots-released/"> (fingergaming)</a>, Noby Noby Boy puts players in control of a stretchable, snake-like creature that can devour objects in the world around him. Most recently, Keita has been posting updates on the facebook page about the progress of development. These include two screenshots of the game which don&#8217;t really describe much but do give some idea that players will be able to scrawl messages across the body of a stretched Noby Noby Boy as well as picking up on the swipe screen interface and custom designed menu bar (great idea not many other developers are exploring). What purpose all this serves, we don&#8217;t know.</p>
<p>No release date has yet been announced for the iPhone port of Noby Noby Boy, but you can track the development with some pretty cool insights on the <a href="http://www.facebook.com/pages/NOBYNOBYBOY/157344100208">facebook page</a>. The video below shows the PS3 version of the game.</p>
<p><a href="http://www.creativeapplications.net/wp-content/uploads/2009/10/noby1.jpg"><img class="alignnone size-full wp-image-5675" title="noby1" src="http://www.creativeapplications.net/wp-content/uploads/2009/10/noby1.jpg" alt="noby1" width="320" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2009/10/noby2.jpg"><img class="alignnone size-full wp-image-5676" title="noby2" src="http://www.creativeapplications.net/wp-content/uploads/2009/10/noby2.jpg" alt="noby2" width="320" height="480" /></a><a href="http://www.creativeapplications.net/wp-content/uploads/2009/10/noby03.jpg"><img class="alignnone size-full wp-image-5677" title="noby03" src="http://www.creativeapplications.net/wp-content/uploads/2009/10/noby03.jpg" alt="noby03" width="640" height="480" /></a><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="371" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=3360147&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="640" height="371" src="http://vimeo.com/moogaloop.swf?clip_id=3360147&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creativeapplications.net/games/noby-noby-boy-iphone-games/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

