<?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>Frameworker</title>
	<atom:link href="http://serkanaksu.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://serkanaksu.com/blog</link>
	<description>Serkan Aksu&#039;s blog</description>
	<lastBuildDate>Sun, 31 Oct 2010 11:03:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Openframeworks Centroid Example</title>
		<link>http://serkanaksu.com/blog/2010/10/31/openframeworks-centroid-example/</link>
		<comments>http://serkanaksu.com/blog/2010/10/31/openframeworks-centroid-example/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 10:50:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Openframeworks]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[centroid]]></category>
		<category><![CDATA[tests]]></category>

		<guid isPermaLink="false">http://serkanaksu.com/blog/2010/10/31/openframeworks-centroid-example/</guid>
		<description><![CDATA[Centroid Example of a Polygon. Calculation of Centroid and Area of a Polgygon is: The centroid of a non-self-intersecting closed polygon defined by n vertices (x0,y0), (x1,y1), &#8230;, (xn−1,yn−1) is the point (Cx, Cy), where and where A is the polygon&#8217;s signed area, In these formulas, the vertices are assumed to be numbered in order [...]]]></description>
			<content:encoded><![CDATA[<p>Centroid Example of a Polygon.</p>
<p><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/10/p1.png"><img class="alignnone size-full wp-image-226" title="p1" src="http://serkanaksu.com/blog/wp-content/uploads/2010/10/p1.png" alt="" width="620" height="400" /></a><br />
<a href="http://serkanaksu.com/blog/wp-content/uploads/2010/10/p2.png"><img class="alignnone size-full wp-image-227" title="p2" src="http://serkanaksu.com/blog/wp-content/uploads/2010/10/p2.png" alt="" width="620" height="400" /></a><br />
<a href="http://serkanaksu.com/blog/wp-content/uploads/2010/10/p3.png"><img class="alignnone size-full wp-image-228" title="p3" src="http://serkanaksu.com/blog/wp-content/uploads/2010/10/p3.png" alt="" width="620" height="400" /></a><br />
<a href="http://serkanaksu.com/blog/wp-content/uploads/2010/10/p4.png"><img class="alignnone size-full wp-image-229" title="p4" src="http://serkanaksu.com/blog/wp-content/uploads/2010/10/p4.png" alt="" width="620" height="400" /></a></p>
<p><strong>Calculation of Centroid and Area of a Polgygon is:</strong><br />
The centroid of a non-self-intersecting closed polygon defined by n vertices (x0,y0), (x1,y1), &#8230;, (xn−1,yn−1) is the point (Cx, Cy), where</p>
<p><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/10/cx.png"><img class="alignnone size-full wp-image-232" title="cx" src="http://serkanaksu.com/blog/wp-content/uploads/2010/10/cx.png" alt="" width="349" height="57" /></a></p>
<p>and where A is the polygon&#8217;s signed area,</p>
<p>In these formulas, the vertices are assumed to be numbered in order of their occurrence along the polygon&#8217;s perimeter, and the vertex ( xn , yn ) is assumed to be the same as ( x0 , y0 ). Note that if the points are numbered in clockwise order the area A, computed as above, will have a negative sign; but the centroid coordinates will be correct even in this case.<br />
<a href="http://serkanaksu.com/blog/wp-content/uploads/2010/10/polygonarea.png"><img class="alignnone size-full wp-image-231" title="polygonarea" src="http://serkanaksu.com/blog/wp-content/uploads/2010/10/polygonarea.png" alt="" width="236" height="51" /></a></p>
<p>http://en.wikipedia.org/wiki/Centroid</p>
<p><strong>Source Code:</strong></p>
<p>TestApp.h<br />
<code><br />
#pragma once</code></p>
<p><code>#include "ofMain.h"</p>
<p>class testApp : public ofBaseApp{<br />
public:</p>
<p>void setup();<br />
void update();<br />
void draw();</p>
<p>void keyPressed  (int key);<br />
void mouseMoved(int x, int y );<br />
void mouseDragged(int x, int y, int button);<br />
void mousePressed(int x, int y, int button);<br />
void mouseReleased(int x, int y, int button);<br />
void windowResized(int w, int h);</p>
<p>struct Point {<br />
float x,y,z,alpha;<br />
float r,g,b;</p>
<p>Point () {<br />
}</p>
<p>Point (float _x,float _y,float _z,float _alpha) {<br />
x = _x;<br />
y = _y;<br />
z = _z;<br />
alpha = _alpha;</p>
<p>r=ofRandom(0,255);<br />
g=ofRandom(0,255);<br />
b=ofRandom(0,255);<br />
}<br />
};</p>
<p>struct Poly {<br />
Point centroid;</p>
<p>float span;<br />
float counter;</p>
<p>float alpha;</p>
<p>bool childNodes;</p>
<p>double area;</p>
<p>vector<br />
points;<br />
vector<br />
children;</p>
<p>Poly() {<br />
calculateArea();</p>
<p>span = ofRandom(0,500);<br />
counter = 0;<br />
childNodes = false;<br />
alpha = 0;<br />
}</p>
<p>void addPoint(float x,float y,float z=0,float alpha=0) {<br />
points.push_back(* new Point(x,y,z,alpha));<br />
area = calculateArea();<br />
calculateCentroid();<br />
}</p>
<p>double calculateArea() {<br />
area = 0;<br />
int j = 0;<br />
for (int i=0;i<br />
area+=points[i].x*points[j].y;<br />
area-=points[i].y*points[j].x;<br />
}</p>
<p>area/=2;<br />
return area;<br />
}</p>
<p>void calculateCentroid() {<br />
float mx=0;<br />
float my=0;<br />
float f;<br />
float j=points.size()-1;</p>
<p>for (int i=0;i                     f=points[i].x*points[j].y-points[j].x*points[i].y;<br />
mx+=(points[i].x+points[j].x)*f;<br />
my+=(points[i].y+points[j].y)*f;<br />
}</p>
<p>f=area*6;</p>
<p>centroid.x = mx/f;<br />
centroid.y = my/f;<br />
}</p>
<p>void draw() {<br />
for (int i=0;i                     ofSetColor(points[i].r,points[i].g,points[i].b,alpha);<br />
ofLine(points[i].x,points[i].y,points[i+1].x,points[i+1].y);<br />
}<br />
ofLine(points[points.size()-1].x,points[points.size()-1].y,points[0].x,points[0].y);</p>
<p>drawCentroid();</p>
<p>if (childNodes) {<br />
for (int i=0;i&lt;3;i++) { 		                children[i].draw(); 		            } 		        } 		        update(); 		    } 		    void drawCentroid() { 		        //ofCircle(centroid.x,centroid.y,2); 		        //ofDrawBitmapString(ofToString(ofRandom(0,9)),centroid.x,centroid.y); 		    }             void update() {                 if (childNodes) {                     return;                 }                 alpha+=100/span;                 counter++;                 if (counter&gt;span &amp;&amp; !childNodes) {<br />
childNodes = true;</p>
<p>for (int i=0;i<br />
children.push_back(* new Poly());<br />
children[i].addPoint(points[i].x,points[i].y);<br />
children[i].addPoint(points[i+1].x,points[i+1].y);<br />
children[i].addPoint(centroid.x,centroid.y);<br />
children[i].addPoint(points[i].x,points[i].y);<br />
}<br />
}<br />
}<br />
};</p>
<p></code></p>
<p><code> vector structure;<br />
};<br />
extern testApp *myApp;<br />
</code></p>
<p>TestApp.cpp<br />
<code><br />
#include "testApp.h"<br />
static int span = 1000;<br />
static int counter = 0;<br />
//--------------------------------------------------------------<br />
void testApp::setup(){<br />
ofBackground(50,50,50);<br />
structure.push_back( * new Poly());</code></p>
<p><code>structure[0].addPoint(100,100);<br />
structure[0].addPoint(500,200);<br />
structure[0].addPoint(800,300);<br />
structure[0].addPoint(200,600);<br />
structure[0].addPoint(150,500);</p>
<p>ofEnableAlphaBlending();<br />
ofEnableSmoothing();<br />
}</p>
<p>//--------------------------------------------------------------<br />
void testApp::update(){<br />
counter++;<br />
if (counter&gt;span) {<br />
counter=0;<br />
structure.clear();</p>
<p>structure.push_back( * new Poly());<br />
structure[0].addPoint(ofRandom(0,100),ofRandom(0,100));<br />
structure[0].addPoint(ofRandom(100,500),ofRandom(100,200));<br />
structure[0].addPoint(ofRandom(500,800),ofRandom(200,400));<br />
structure[0].addPoint(ofRandom(800,1000),ofRandom(400,600));<br />
structure[0].addPoint(ofRandom(100,150),ofRandom(100,400));<br />
}<br />
}</p>
<p>//--------------------------------------------------------------<br />
void testApp::draw(){<br />
structure[0].draw();<br />
}</p>
<p>//--------------------------------------------------------------<br />
void testApp::keyPressed  (int key){</p>
<p>}</p>
<p>//--------------------------------------------------------------<br />
void testApp::mouseMoved(int x, int y ){<br />
}</p>
<p>void testApp::windowResized(int w, int h) {</p>
<p>}</p>
<p>//--------------------------------------------------------------<br />
void testApp::mouseDragged(int x, int y, int button){<br />
}</p>
<p>//--------------------------------------------------------------<br />
void testApp::mousePressed(int x, int y, int button){<br />
}</p>
<p>//--------------------------------------------------------------<br />
void testApp::mouseReleased(int x, int y, int button){</p>
<p>}</p>
<p></code></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://serkanaksu.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://serkanaksu.com/blog/2010/10/31/openframeworks-centroid-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openframeworks Sphere Boids Demo</title>
		<link>http://serkanaksu.com/blog/2010/10/13/openframeworks-sphere-boids-demo/</link>
		<comments>http://serkanaksu.com/blog/2010/10/13/openframeworks-sphere-boids-demo/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 17:14:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Openframeworks]]></category>
		<category><![CDATA[boids]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[opengl]]></category>

		<guid isPermaLink="false">http://serkanaksu.com/blog/?p=217</guid>
		<description><![CDATA[I&#8217;ve translated some code inorder to create a sphere from n number of points. here it is void testApp::createSphereFromPoints( const ofxVec3f &#38;center, float radius, int segments ) { if( segments &#60; 0 ) return; float *verts = new float[(segments+1)*2*3]; for( int j = 0; j &#60; segments / 2; j++ ) { float theta1 = [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve translated some code inorder to create a sphere from n number of points.</p>
<p>here it is</p>
<p><code><br />
void testApp::createSphereFromPoints( const ofxVec3f &amp;center, float radius, int segments )<br />
{<br />
if( segments &lt; 0 )<br />
return;</p>
<p>float *verts = new float[(segments+1)*2*3];<br />
for( int j = 0; j &lt; segments / 2; j++ ) {<br />
float theta1 = j * 2 * 3.14159f / segments - ( 3.14159f / 2.0f );<br />
float theta2 = (j + 1) * 2 * 3.14159f / segments - ( 3.14159f / 2.0f );</p>
<p>for( int i = 0; i &lt;= segments; i++ ) {<br />
ofxVec3f e, p;<br />
float theta3 = i * 2 * 3.14159f / segments;</p>
<p>e.x = cos( theta1 ) * cos( theta3 );<br />
e.y = sin( theta1 );<br />
e.z = cos( theta1 ) * sin( theta3 );<br />
p = e * radius + center;</p>
<p>verts[i*3*2+0] = p.x;<br />
verts[i*3*2+1] = p.y;<br />
verts[i*3*2+2] = p.z;</p>
<p>e.x = cos( theta2 ) * cos( theta3 );<br />
e.y = sin( theta2 );<br />
e.z = cos( theta2 ) * sin( theta3 );<br />
p = e * radius + center;</p>
<p>verts[i*3*2+3] = p.x;<br />
verts[i*3*2+4] = p.y;<br />
verts[i*3*2+5] = p.z;</p>
<p>spherePoints.push_back(p);<br />
}<br />
}<br />
}<br />
</code></p>
<p>It pushes an number of points to &#8220;ofxVec3d<vector> spherPoints&#8221;. and another function pushes n number of boids into the space with an initial location of a point in over the surface of sphere.</p>
<p>I got that after all:<br />
<a href="http://serkanaksu.com/blog/wp-content/uploads/2010/10/1.jpg"><img src="http://serkanaksu.com/blog/wp-content/uploads/2010/10/1.jpg" alt="" title="1" width="506" height="506" class="alignnone size-full wp-image-220" /></a></p>
<p>What I am trying to do is, I want to select randomly 2 points from my sphere, and draw a 3d Bezier line between that two points inorder to get that image<br />
<a href="http://serkanaksu.com/blog/wp-content/uploads/2010/10/2-1.jpg"><img src="http://serkanaksu.com/blog/wp-content/uploads/2010/10/2-1.jpg" alt="" title="2 (1)" width="506" height="506" class="alignnone size-full wp-image-221" /></a></p>
<p>I have the 2d bezier formula, I am looking for 3d version.<br />
<a href='http://serkanaksu.com/blog/wp-content/uploads/2010/10/src.zip'>src</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://serkanaksu.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://serkanaksu.com/blog/2010/10/13/openframeworks-sphere-boids-demo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openframeworks Text Effects Demo</title>
		<link>http://serkanaksu.com/blog/2010/10/05/openframeworks-text-effects-demo/</link>
		<comments>http://serkanaksu.com/blog/2010/10/05/openframeworks-text-effects-demo/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 17:01:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serkanaksu.com/blog/?p=209</guid>
		<description><![CDATA[I&#8217;ve tried to create some text effects for openframeworks. Hope you enjoy it. The source is here. ofxTextEffects]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve tried to create some text effects for openframeworks. Hope you enjoy it.</p>
<div class="mceTemp">
<dl id="attachment_212" class="wp-caption alignnone" style="width: 810px;">
<dt class="wp-caption-dt"><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/10/seq3671.png"><img class="size-full wp-image-212" title="Text Effects Demo" src="http://serkanaksu.com/blog/wp-content/uploads/2010/10/seq3671.png" alt="ofxTextEffects" width="800" height="600" /></a></dt>
</dl>
</div>
<p>The source is here.</p>
<p><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/10/ofxTextEffects.zip">ofxTextEffects</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://serkanaksu.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://serkanaksu.com/blog/2010/10/05/openframeworks-text-effects-demo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Art of Code</title>
		<link>http://serkanaksu.com/blog/2010/09/14/art-of-code/</link>
		<comments>http://serkanaksu.com/blog/2010/09/14/art-of-code/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 11:31:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Interactive]]></category>
		<category><![CDATA[Openframeworks]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[opengl]]></category>

		<guid isPermaLink="false">http://serkanaksu.com/blog/?p=181</guid>
		<description><![CDATA[Here some experiments with the old boid codes which are translated from Daniel Shiffman&#8217;s flocking behaviours, the origins of the source are coming from Craig W. Reynold . 3d Boids Source Code]]></description>
			<content:encoded><![CDATA[<p>Here some experiments with the old boid codes which are translated from Daniel Shiffman&#8217;s flocking behaviours, the origins of the source are coming from Craig W. Reynold .</p>
<p><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a03.png"><img class="alignnone size-full wp-image-193" title="a0" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a03.png" alt="" width="620" height="355" /></a><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a11.png"><img class="alignnone size-full wp-image-194" title="a1" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a11.png" alt="" width="620" height="355" /></a><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a21.png"><img class="alignnone size-full wp-image-195" title="a2" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a21.png" alt="" width="620" height="355" /></a><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a31.png"><img class="alignnone size-full wp-image-196" title="a3" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a31.png" alt="" width="620" height="355" /></a><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a51.png"><img class="alignnone size-full wp-image-197" title="a5" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a51.png" alt="" width="620" height="355" /></a><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a61.png"><img class="alignnone size-full wp-image-198" title="a6" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a61.png" alt="" width="620" height="355" /></a><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a71.png"><img class="alignnone size-full wp-image-199" title="a7" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a71.png" alt="" width="620" height="355" /></a><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a8.png"><img class="alignnone size-full wp-image-200" title="a8" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a8.png" alt="" width="620" height="355" /></a><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a9.png"><img class="alignnone size-full wp-image-201" title="a9" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/a9.png" alt="" width="620" height="355" /></a></p>
<p><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/09/3dBoids.zip">3d Boids Source Code</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://serkanaksu.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://serkanaksu.com/blog/2010/09/14/art-of-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>09.September.2010 Roadtrip through the industry to the roots</title>
		<link>http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/</link>
		<comments>http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 21:50:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serkanaksu.com/blog/?p=122</guid>
		<description><![CDATA[A nice roadtrip through the industrial zone of Izmit / Kocaeli to Esme. Our first rest place was Hereke its only 100km far from Istanbul. We have eaten a delicious fish at a small restaurant called Mercan. Then we have continiued our triped to  Esme a lovely village of Adapazarı. At the other day we&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/09/header1.png"><img class="alignnone size-full wp-image-177" title="header" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/header1.png" alt="" width="620" height="242" /></a></p>
<p>A nice roadtrip through the industrial zone of Izmit / Kocaeli to Esme. Our first rest place was Hereke its only 100km far from Istanbul. We have eaten a delicious fish at a small restaurant called Mercan.</p>
<p>Then we have continiued our triped to  Esme a lovely village of Adapazarı. At the other day we&#8217;ve went to Taraklı which is a small village 20kms far from Esme, at Taraklı I am very happy to see a restoration of an ancient Ottoman Han ( inn ).  The old people living at the village where coming from the Cuma praying and they were very interested with us, they were happy to see foreigners interested about their village. One of the old person who was a retired imam of the mosque come near to us while I was taking a photo of an ancient door and its remainings. He told me about a  Plane Tree which is  600 years old. We&#8217;ve also tried to take photos of the tree.</p>
<p><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/09/middle.png"><img class="alignnone size-full wp-image-179" title="An old Ottoman House" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/middle.png" alt="" width="620" height="242" /></a></p>
<p>After drinking our traditional Turkish coffee at the villages park, we went to another ancient Ottoman Village which is called Göynük. Göynük is a very important Ottoman Village because of Akşemseddin who is the teacher of Fatih Sultan Mehmet who had conquered Istanbul at 1453 also known as &#8220;FATIH THE CONQUERER&#8221;. Akşemseddin was a very famous Sofi who is also called as the father of microbiology after his researchs about micro-orgonizms around 1400 AD.</p>
<p>Some more  photos from the journey..</p>

<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5408/' title='IMG_5408'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5408-150x150.jpg" class="attachment-thumbnail" alt="IMG_5408" title="IMG_5408" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5417/' title='IMG_5417'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5417-150x150.jpg" class="attachment-thumbnail" alt="IMG_5417" title="IMG_5417" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5437/' title='IMG_5437'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5437-150x150.jpg" class="attachment-thumbnail" alt="IMG_5437" title="IMG_5437" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5444/' title='IMG_5444'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5444-150x150.jpg" class="attachment-thumbnail" alt="IMG_5444" title="IMG_5444" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5480/' title='IMG_5480'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5480-150x150.jpg" class="attachment-thumbnail" alt="IMG_5480" title="IMG_5480" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5502/' title='IMG_5502'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5502-150x150.jpg" class="attachment-thumbnail" alt="IMG_5502" title="IMG_5502" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5532/' title='IMG_5532'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5532-150x150.jpg" class="attachment-thumbnail" alt="IMG_5532" title="IMG_5532" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5583/' title='IMG_5583'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5583-150x150.jpg" class="attachment-thumbnail" alt="IMG_5583" title="IMG_5583" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5585/' title='IMG_5585'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5585-150x150.jpg" class="attachment-thumbnail" alt="IMG_5585" title="IMG_5585" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5612/' title='IMG_5612'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5612-150x150.jpg" class="attachment-thumbnail" alt="IMG_5612" title="IMG_5612" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5633/' title='IMG_5633'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5633-150x150.jpg" class="attachment-thumbnail" alt="IMG_5633" title="IMG_5633" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5634/' title='IMG_5634'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5634-150x150.jpg" class="attachment-thumbnail" alt="IMG_5634" title="IMG_5634" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5639/' title='IMG_5639'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5639-150x150.jpg" class="attachment-thumbnail" alt="IMG_5639" title="IMG_5639" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5642/' title='IMG_5642'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5642-150x150.jpg" class="attachment-thumbnail" alt="IMG_5642" title="IMG_5642" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5643/' title='IMG_5643'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5643-150x150.jpg" class="attachment-thumbnail" alt="IMG_5643" title="IMG_5643" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5644/' title='IMG_5644'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5644-150x150.jpg" class="attachment-thumbnail" alt="IMG_5644" title="IMG_5644" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5646/' title='IMG_5646'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5646-150x150.jpg" class="attachment-thumbnail" alt="IMG_5646" title="IMG_5646" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5647/' title='IMG_5647'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5647-150x150.jpg" class="attachment-thumbnail" alt="IMG_5647" title="IMG_5647" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5650/' title='IMG_5650'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5650-150x150.jpg" class="attachment-thumbnail" alt="IMG_5650" title="IMG_5650" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5651/' title='IMG_5651'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5651-150x150.jpg" class="attachment-thumbnail" alt="IMG_5651" title="IMG_5651" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5652/' title='IMG_5652'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5652-150x150.jpg" class="attachment-thumbnail" alt="IMG_5652" title="IMG_5652" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5653/' title='IMG_5653'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5653-150x150.jpg" class="attachment-thumbnail" alt="IMG_5653" title="IMG_5653" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5654/' title='IMG_5654'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5654-150x150.jpg" class="attachment-thumbnail" alt="IMG_5654" title="IMG_5654" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5655/' title='IMG_5655'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5655-150x150.jpg" class="attachment-thumbnail" alt="IMG_5655" title="IMG_5655" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5659/' title='IMG_5659'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5659-150x150.jpg" class="attachment-thumbnail" alt="IMG_5659" title="IMG_5659" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5662/' title='IMG_5662'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5662-150x150.jpg" class="attachment-thumbnail" alt="IMG_5662" title="IMG_5662" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5664/' title='IMG_5664'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5664-150x150.jpg" class="attachment-thumbnail" alt="IMG_5664" title="IMG_5664" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5668/' title='IMG_5668'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5668-150x150.jpg" class="attachment-thumbnail" alt="IMG_5668" title="IMG_5668" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5670/' title='IMG_5670'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5670-150x150.jpg" class="attachment-thumbnail" alt="IMG_5670" title="IMG_5670" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5671/' title='IMG_5671'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5671-150x150.jpg" class="attachment-thumbnail" alt="IMG_5671" title="IMG_5671" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5672/' title='IMG_5672'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5672-150x150.jpg" class="attachment-thumbnail" alt="IMG_5672" title="IMG_5672" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5673/' title='IMG_5673'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5673-150x150.jpg" class="attachment-thumbnail" alt="IMG_5673" title="IMG_5673" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5674/' title='IMG_5674'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5674-150x150.jpg" class="attachment-thumbnail" alt="IMG_5674" title="IMG_5674" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5675/' title='IMG_5675'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5675-150x150.jpg" class="attachment-thumbnail" alt="IMG_5675" title="IMG_5675" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5676/' title='IMG_5676'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5676-150x150.jpg" class="attachment-thumbnail" alt="IMG_5676" title="IMG_5676" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5677/' title='IMG_5677'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5677-150x150.jpg" class="attachment-thumbnail" alt="IMG_5677" title="IMG_5677" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5678/' title='IMG_5678'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5678-150x150.jpg" class="attachment-thumbnail" alt="IMG_5678" title="IMG_5678" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5679/' title='IMG_5679'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5679-150x150.jpg" class="attachment-thumbnail" alt="IMG_5679" title="IMG_5679" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5681/' title='IMG_5681'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5681-150x150.jpg" class="attachment-thumbnail" alt="IMG_5681" title="IMG_5681" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5682/' title='IMG_5682'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5682-150x150.jpg" class="attachment-thumbnail" alt="IMG_5682" title="IMG_5682" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5683/' title='IMG_5683'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5683-150x150.jpg" class="attachment-thumbnail" alt="IMG_5683" title="IMG_5683" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5684/' title='IMG_5684'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5684-150x150.jpg" class="attachment-thumbnail" alt="IMG_5684" title="IMG_5684" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5685/' title='IMG_5685'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5685-150x150.jpg" class="attachment-thumbnail" alt="IMG_5685" title="IMG_5685" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5687/' title='IMG_5687'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5687-150x150.jpg" class="attachment-thumbnail" alt="IMG_5687" title="IMG_5687" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5691/' title='IMG_5691'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5691-150x150.jpg" class="attachment-thumbnail" alt="IMG_5691" title="IMG_5691" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5692/' title='IMG_5692'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5692-150x150.jpg" class="attachment-thumbnail" alt="IMG_5692" title="IMG_5692" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5694/' title='IMG_5694'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5694-150x150.jpg" class="attachment-thumbnail" alt="IMG_5694" title="IMG_5694" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/img_5695/' title='IMG_5695'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/IMG_5695-150x150.jpg" class="attachment-thumbnail" alt="IMG_5695" title="IMG_5695" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/header/' title='header'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/header-150x150.png" class="attachment-thumbnail" alt="header" title="header" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/header-2/' title='header'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/header1-150x150.png" class="attachment-thumbnail" alt="header" title="header" /></a>
<a href='http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/middle/' title='An old Ottoman House'><img width="150" height="150" src="http://serkanaksu.com/blog/wp-content/uploads/2010/09/middle-150x150.png" class="attachment-thumbnail" alt="An old Ottoman House" title="An old Ottoman House" /></a>

<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://serkanaksu.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://serkanaksu.com/blog/2010/09/13/09-september-2010-roadtrip-through-the-industry-to-the-roots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Birthday present for a friend</title>
		<link>http://serkanaksu.com/blog/2010/08/16/birthday-present-for-a-friend/</link>
		<comments>http://serkanaksu.com/blog/2010/08/16/birthday-present-for-a-friend/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 22:55:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serkanaksu.com/blog/?p=114</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/08/vespa.png"><img class="alignnone size-full wp-image-115" title="vespa" src="http://serkanaksu.com/blog/wp-content/uploads/2010/08/vespa.png" alt="" width="560" height="399" /></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://serkanaksu.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://serkanaksu.com/blog/2010/08/16/birthday-present-for-a-friend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roadtrips</title>
		<link>http://serkanaksu.com/blog/2010/07/29/roadtrips/</link>
		<comments>http://serkanaksu.com/blog/2010/07/29/roadtrips/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 16:29:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://serkanaksu.com/blog/?p=99</guid>
		<description><![CDATA[The roadshow events for the adidas &#8220;buformabizim.com&#8221; campaign will start tomorrow. I will be going to Erzurum, Kayseri, Trabzon, Antalya, İzmir and Antalya during the event.]]></description>
			<content:encoded><![CDATA[<p><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/07/turkeyRoadTrip.png"><img src="http://serkanaksu.com/blog/wp-content/uploads/2010/07/turkeyRoadTrip.png" alt="" title="turkeyRoadTrip" width="600" height="375" class="alignnone size-full wp-image-109" /></a></p>
<p>The roadshow events for the adidas &#8220;buformabizim.com&#8221; campaign will start tomorrow. I will be going to Erzurum, Kayseri, Trabzon, Antalya, İzmir and Antalya during the event.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://serkanaksu.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://serkanaksu.com/blog/2010/07/29/roadtrips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bosphorus Gaz Data Visualisation Software Beta Tests</title>
		<link>http://serkanaksu.com/blog/2010/07/29/bosphorus-gaz-data-visualisation-software-beta-tests/</link>
		<comments>http://serkanaksu.com/blog/2010/07/29/bosphorus-gaz-data-visualisation-software-beta-tests/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 11:30:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serkanaksu.com/blog/?p=102</guid>
		<description><![CDATA[I&#8217;ve completed the data visualisation software for Bosphorus Gaz, which shows the Natural Gas resources around Europe &#038; Asia, each city in the software shows the nearby gaz points, the pipe lines between Russia through other countries and a photo library. I&#8217;ve used Displax&#8217;s Multitouch hardware for multitouch gesture recognitions.]]></description>
			<content:encoded><![CDATA[<p><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/07/f1.png"><img src="http://serkanaksu.com/blog/wp-content/uploads/2010/07/f1.png" alt="" title="f1" width="800" height="533" class="alignnone size-full wp-image-103" /></a></p>
<p>I&#8217;ve completed the data visualisation software for Bosphorus Gaz, which shows the Natural Gas resources around Europe &#038; Asia, each city in the software shows the nearby gaz points, the pipe lines between Russia through other countries and a photo library. </p>
<p>I&#8217;ve used Displax&#8217;s Multitouch hardware for multitouch gesture recognitions.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://serkanaksu.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://serkanaksu.com/blog/2010/07/29/bosphorus-gaz-data-visualisation-software-beta-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today is the day that Mc Fly arrived, when he went to the Future.</title>
		<link>http://serkanaksu.com/blog/2010/07/06/today-is-the-day-mc-fly-came-when-he-went-to-the-future/</link>
		<comments>http://serkanaksu.com/blog/2010/07/06/today-is-the-day-mc-fly-came-when-he-went-to-the-future/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 20:56:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serkanaksu.com/blog/?p=86</guid>
		<description><![CDATA[Where is the flying cars working with garbage?]]></description>
			<content:encoded><![CDATA[<p><a href="http://serkanaksu.com/blog/wp-content/uploads/2010/07/35168_470188297523_622112523_6399525_8013294_n.jpg"><img src="http://serkanaksu.com/blog/wp-content/uploads/2010/07/35168_470188297523_622112523_6399525_8013294_n.jpg" alt="" title="Mc Flys time machine counter supa hypa" width="278" height="175" class="alignnone size-full wp-image-87" /></a></p>
<p>Where is the flying cars working with garbage? </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://serkanaksu.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://serkanaksu.com/blog/2010/07/06/today-is-the-day-mc-fly-came-when-he-went-to-the-future/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recording Video &amp; Sound Together</title>
		<link>http://serkanaksu.com/blog/2010/06/20/recording-video-sound-together/</link>
		<comments>http://serkanaksu.com/blog/2010/06/20/recording-video-sound-together/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 22:28:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Openframeworks]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[openframewoks]]></category>

		<guid isPermaLink="false">http://serkanaksu.com/blog/?p=81</guid>
		<description><![CDATA[Finally, I am able to record sound &#038; video together.. Thanks to openframeworks forum.. here is the first tests.. Sources Here how it works&#8230; First you need to add libsnd libraries to your code&#8230; I&#8217;ve added them to addons/libsound/libsndfile-1.lib Download libsnd from Mega-Nerd Then you must add linker options as: to your codeblocks project file. [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, I am able to record sound &#038; video together.. Thanks to openframeworks forum.. here is the first tests..<br />
<a href="http://www.serkanaksu.com/blog/content/sources/openframeworks/videoAndSoundRecorder/videoAndSoundRecorder.zip">Sources</a></p>
<p>Here how it works&#8230;<br />
First you need to add libsnd libraries to your code&#8230; I&#8217;ve added them to addons/libsound/libsndfile-1.lib<br />
Download libsnd from <a href="http://www.mega-nerd.com/libsndfile/">Mega-Nerd</a></p>
<p>Then you must add linker options as:<br />
<Add option="..\..\..\..\addons/libsound/libsndfile-1.lib" /> to your codeblocks project file.</p>
<p><strong>*** You must carefully arrange the framerates, otherwise you get sound + video sync problems. </strong></p>
<p>First we save audio track and video separately and then we add the audio track to quicktime file. Finally save them.  At the end we have a quicktime movie with sound and also a sound file.</p>
<p><b>testApp.cpp</b><br />
<code><br />
#include "testApp.h"<br />
#include "stdio.h"</p>
<p>#include <sndfile.h></p>
<p>static bool bRecording = false;<br />
static int myFrameRate = 15;</p>
<p>//--------------------------------------------------------------<br />
void testApp::setup(){</p>
<p>    camWidth 		= 640;	// try to grab at this size.<br />
	camHeight 		= 480;</p>
<p>	vidGrabber.setVerbose(true);<br />
	vidGrabber.initGrabber(camWidth,camHeight);</p>
<p>	saver.listCodecs();<br />
	//saver.setCodecType(17); //ZACH FIX see recording quicktime with sound in sync on of forum<br />
	saver.setCodecQualityLevel(OF_QT_SAVER_CODEC_QUALITY_NORMAL);<br />
	saver.setup(640,480,"data/output.mov");</p>
<p>	ofSetFrameRate(myFrameRate);</p>
<p>	ofBackground(255,255,255);</p>
<p>	// 0 output channels,<br />
	// 2 input channels<br />
	// 22050 samples per second<br />
	// 256 samples per buffer<br />
	// 4 num buffers (latency)</p>
<p>	ofSoundStreamSetup(0,2,this, 44100, 256, 4);<br />
	left = new float[256];<br />
	right = new float[256];</p>
<p>	bufferCounter = 0;<br />
	drawCounter = 0;</p>
<p>    sampleRate = 44100;</p>
<p>    info.format=SF_FORMAT_WAV | SF_FORMAT_PCM_16;<br />
    info.frames = sampleRate*myFrameRate;<br />
    info.samplerate = sampleRate;<br />
    info.channels = 2;<br />
    outfile = sf_open ("data/mydata.wav", SFM_WRITE, &#038;info) ;</p>
<p>    if (!outfile)<br />
        {<br />
            cerr<<"Error opening ["<<outfilename<<"] : "<<sf_strerror (outfile)<<endl;<br />
        }</p>
<p>}</p>
<p>//--------------------------------------------------------------<br />
void testApp::draw(){<br />
    vidGrabber.draw(20,400);</p>
<p>	// draw the left:<br />
	ofSetColor(0x333333);<br />
	ofRect(100,100,256,200);<br />
	ofSetColor(0xFFFFFF);<br />
	for (int i = 0; i < 256; i++){<br />
		ofLine(100+i,200,100+i,200+left[i]*100.0f);<br />
	}</p>
<p>	// draw the right:<br />
	ofSetColor(0x333333);<br />
	ofRect(600,100,256,200);<br />
	ofSetColor(0xFFFFFF);<br />
	for (int i = 0; i < 256; i++){<br />
		ofLine(600+i,200,600+i,200+right[i]*100.0f);<br />
	}</p>
<p>	ofSetColor(0x333333);<br />
	drawCounter++;<br />
	char reportString[255];<br />
	sprintf(reportString, "buffers received: %i\ndraw routines called: %i\n", bufferCounter,drawCounter);<br />
	ofDrawBitmapString(reportString,80,380);<br />
}</p>
<p>void testApp::update(){</p>
<p>	ofBackground(100,100,100);</p>
<p>	vidGrabber.grabFrame();</p>
<p>	if (bRecording == true){<br />
		saver.addFrame(vidGrabber.getPixels(), 1.0f / myFrameRate);</p>
<p>		//  you can also pass in the frameRate:<br />
		//	saver.addFrame(vidGrabber.getPixels(), 1.0f / 30.0f);  // 30 fps for this frame<br />
		//	saver.addFrame(vidGrabber.getPixels(), 1.0f / 5.0f);   // 5 fps for this frame, etc....</p>
<p>	}</p>
<p>}</p>
<p>static float adder = 0;<br />
//--------------------------------------------------------------<br />
void testApp::audioReceived 	(float * input, int bufferSize, int nChannels){</p>
<p>    if (bRecording){</p>
<p>	// samples are "interleaved"<br />
	for (int i = 0; i < bufferSize; i++){<br />
		left[i] = input[i*2];<br />
		right[i] = input[i*2+1];<br />
	}<br />
	bufferCounter++;<br />
	sf_write_float(outfile, input, bufferSize*2);<br />
    }<br />
}</p>
<p>//--------------------------------------------------------------<br />
void testApp::keyPressed  (int key){</p>
<p>    if (key=='a')<br />
        {<br />
            bRecording = true;<br />
        }</p>
<p>    if (key=='s')<br />
        {<br />
            bRecording = false;<br />
            sf_close(outfile);<br />
        }</p>
<p>    if (key==' ')<br />
        {<br />
            saver.addAudioTrack("data/mydata.wav");<br />
            saver.finishMovie();<br />
        }<br />
}</p>
<p>//--------------------------------------------------------------<br />
void testApp::keyReleased(int key){</p>
<p>}</p>
<p>//--------------------------------------------------------------<br />
void testApp::mouseMoved(int x, int y ){</p>
<p>}</p>
<p>//--------------------------------------------------------------<br />
void testApp::mouseDragged(int x, int y, int button){</p>
<p>}</p>
<p>//--------------------------------------------------------------<br />
void testApp::mousePressed(int x, int y, int button){</p>
<p>}</p>
<p>//--------------------------------------------------------------<br />
void testApp::mouseReleased(int x, int y, int button){</p>
<p>}</p>
<p>//--------------------------------------------------------------<br />
void testApp::resized(int w, int h){</p>
<p>}<br />
</code></p>
<p><strong>testApp.h</strong><br />
<code><br />
#ifndef _TEST_APP<br />
#define _TEST_APP</p>
<p>#include "ofMain.h"</p>
<p>#include <sndfile.h><br />
#include "ofxQtVideoSaver.h"</p>
<p>class testApp : public ofBaseApp{</p>
<p>	public:</p>
<p>		void setup();<br />
		void update();<br />
		void draw();</p>
<p>		void keyPressed(int key);<br />
		void keyReleased(int key);<br />
		void mouseMoved(int x, int y );<br />
		void mouseDragged(int x, int y, int button);<br />
		void mousePressed(int x, int y, int button);<br />
		void mouseReleased(int x, int y, int button);<br />
		void resized(int w, int h);</p>
<p>		void audioReceived 	(float * input, int bufferSize, int nChannels);</p>
<p>		float * left;<br />
		float * right;<br />
		int 	bufferCounter;<br />
		int 	drawCounter;</p>
<p>        int      format;<br />
        int      channels;<br />
        int      sampleRate;<br />
        int      sndBuffSize;<br />
        int      sndBuffPos;<br />
        char   * outfilename;<br />
        SNDFILE * outfile;<br />
        SF_INFO    info;</p>
<p>        ofVideoGrabber 		vidGrabber;</p>
<p>		int 				camWidth;<br />
		int 				camHeight;</p>
<p>		ofxQtVideoSaver		saver;</p>
<p>		float * output;<br />
};</p>
<p>#endif</p>
<p></code></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://serkanaksu.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://serkanaksu.com/blog/2010/06/20/recording-video-sound-together/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
