<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for creative coding</title>
	<atom:link href="http://creativecoding.org/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://creativecoding.org/blog</link>
	<description>Creative Coding Vorlesung an der Berliner Technischen Kunsthochschule im Sommersemester &#039;10</description>
	<lastBuildDate>Sun, 25 Jul 2010 13:05:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Unexpected Token: Flickrset! by Dana</title>
		<link>http://creativecoding.org/blog/2010/07/24/unexpected-token-flickrset/comment-page-1/#comment-221</link>
		<dc:creator>Dana</dc:creator>
		<pubDate>Sun, 25 Jul 2010 13:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://creativecoding.org/blog/?p=1131#comment-221</guid>
		<description>Ich bedanke mich auch noch mal ganz offiziell für den gelungenen Abend!
Ganz besonders bei den Dozenten, die uns das in dem netten Rahmen ermöglicht haben und bei Chris, der den Abend so super gehandhabt hat!

Ich hätte nie gedacht, dass ich das mal schreibe, aber ich vermisse unseren Processingkurs jetzt schon..

Vielen Dank für die schönen Semester an euch alle!

Die Dana</description>
		<content:encoded><![CDATA[<p>Ich bedanke mich auch noch mal ganz offiziell für den gelungenen Abend!<br />
Ganz besonders bei den Dozenten, die uns das in dem netten Rahmen ermöglicht haben und bei Chris, der den Abend so super gehandhabt hat!</p>
<p>Ich hätte nie gedacht, dass ich das mal schreibe, aber ich vermisse unseren Processingkurs jetzt schon..</p>
<p>Vielen Dank für die schönen Semester an euch alle!</p>
<p>Die Dana</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on semesterarbeit cc1 by stephan</title>
		<link>http://creativecoding.org/blog/2010/07/18/semesterarbeit-cc1/comment-page-1/#comment-216</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Sun, 18 Jul 2010 16:55:26 +0000</pubDate>
		<guid isPermaLink="false">http://creativecoding.org/blog/2010/07/18/semesterarbeit-cc1/#comment-216</guid>
		<description>ihr müsst buchstabenweise durch den text gehen. wie das geht findet anbei.

String textToDraw = &quot;And through it all she offers me protection a lot of love and affection whether &quot; +
&quot;I‘m right or wrong and down the waterfall wherever it may take me I know that life won‘t break me when I come to call she won‘t forsake me I‘m loving angels instead&quot;;

PImage bild;
PFont schrift;

int i = 0; // we&#039;ll use this to jump over each character for drawing individually

void setup() {

  size(1273, 900);

  bild = loadImage(&quot;flügel.jpg&quot;);

  schrift = loadFont(&quot;Didot-Bold-20.vlw&quot;);

  textFont(schrift, 10);

  noLoop();
}

void draw() {
  background(255);
//  image(bild, 0, 0);
  for (int y = 0; y &lt; bild.height; y += textAscent()) {
    for (int x = 0; x &lt; bild.width; x++) {

      // get the color at the current pixel
      color c = bild.get(x, y);
      // if the color is something else than a pure white
      if (brightness(c) == 0) {
        // draw something at this position
        fill(c);
        
        // String.charAt gives you the character at a specific position in the String
        // i.e. &quot;Hallo&quot;  -&gt; charAt(2)  -&gt; &#039;a&#039;
        text(textToDraw.charAt(i), x, y);
        
        x += textWidth(textToDraw.charAt(i));
        i++; // increment i by 1 -&gt; go to the next character
        i %= textToDraw.length(); // the &#039;modulo&#039; operation makes sure values for &#039;i&#039; are only within range of the number of characters in our string
      }
    }
  }
}


nun könnt ihr versuchen das prinzip zu verstehen und an der lesbarkeit zu arbeiten. das bild solltet ihr auch nochmal ein bisschen überarbeiten, da die schwarzen stellen ausserhalb der flügel dazu führen, dass dort auch buchstaben auftauchen.

viel erfolg</description>
		<content:encoded><![CDATA[<p>ihr müsst buchstabenweise durch den text gehen. wie das geht findet anbei.</p>
<p>String textToDraw = &#8220;And through it all she offers me protection a lot of love and affection whether &#8221; +<br />
&#8220;I‘m right or wrong and down the waterfall wherever it may take me I know that life won‘t break me when I come to call she won‘t forsake me I‘m loving angels instead&#8221;;</p>
<p>PImage bild;<br />
PFont schrift;</p>
<p>int i = 0; // we&#8217;ll use this to jump over each character for drawing individually</p>
<p>void setup() {</p>
<p>  size(1273, 900);</p>
<p>  bild = loadImage(&#8220;flügel.jpg&#8221;);</p>
<p>  schrift = loadFont(&#8220;Didot-Bold-20.vlw&#8221;);</p>
<p>  textFont(schrift, 10);</p>
<p>  noLoop();<br />
}</p>
<p>void draw() {<br />
  background(255);<br />
//  image(bild, 0, 0);<br />
  for (int y = 0; y < bild.height; y += textAscent()) {<br />
    for (int x = 0; x < bild.width; x++) {</p>
<p>      // get the color at the current pixel<br />
      color c = bild.get(x, y);<br />
      // if the color is something else than a pure white<br />
      if (brightness(c) == 0) {<br />
        // draw something at this position<br />
        fill(c);</p>
<p>        // String.charAt gives you the character at a specific position in the String<br />
        // i.e. "Hallo"  -> charAt(2)  -> &#8216;a&#8217;<br />
        text(textToDraw.charAt(i), x, y);</p>
<p>        x += textWidth(textToDraw.charAt(i));<br />
        i++; // increment i by 1 -> go to the next character<br />
        i %= textToDraw.length(); // the &#8216;modulo&#8217; operation makes sure values for &#8216;i&#8217; are only within range of the number of characters in our string<br />
      }<br />
    }<br />
  }<br />
}</p>
<p>nun könnt ihr versuchen das prinzip zu verstehen und an der lesbarkeit zu arbeiten. das bild solltet ihr auch nochmal ein bisschen überarbeiten, da die schwarzen stellen ausserhalb der flügel dazu führen, dass dort auch buchstaben auftauchen.</p>
<p>viel erfolg</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on  by manep</title>
		<link>http://creativecoding.org/blog/2010/07/08/1108/comment-page-1/#comment-215</link>
		<dc:creator>manep</dc:creator>
		<pubDate>Wed, 14 Jul 2010 11:18:20 +0000</pubDate>
		<guid isPermaLink="false">http://creativecoding.org/blog/?p=1108#comment-215</guid>
		<description>hey wir sind an der  Uni, wo seid Ihr????

Magdalena und Manja</description>
		<content:encoded><![CDATA[<p>hey wir sind an der  Uni, wo seid Ihr????</p>
<p>Magdalena und Manja</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on  by mi</title>
		<link>http://creativecoding.org/blog/2010/07/08/1108/comment-page-1/#comment-213</link>
		<dc:creator>mi</dc:creator>
		<pubDate>Fri, 09 Jul 2010 19:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://creativecoding.org/blog/?p=1108#comment-213</guid>
		<description>… ich würde das dann gleich mit nutzen. Meine TwitterHerzschlagApp funktioniert zwar jetzt etwa genau so wie ich mir das erhofft hatte, leider harkt sie aber jedesmal beim abrufen des Tweets und läuft dann nicht mehr flüssig.

Freu mich darauf, das Problem zu lösen!

mischa</description>
		<content:encoded><![CDATA[<p>… ich würde das dann gleich mit nutzen. Meine TwitterHerzschlagApp funktioniert zwar jetzt etwa genau so wie ich mir das erhofft hatte, leider harkt sie aber jedesmal beim abrufen des Tweets und läuft dann nicht mehr flüssig.</p>
<p>Freu mich darauf, das Problem zu lösen!</p>
<p>mischa</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on  by orange_dot</title>
		<link>http://creativecoding.org/blog/2010/07/08/1108/comment-page-1/#comment-212</link>
		<dc:creator>orange_dot</dc:creator>
		<pubDate>Fri, 09 Jul 2010 13:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://creativecoding.org/blog/?p=1108#comment-212</guid>
		<description>Hey Magdalena,
ich werde noch einmal am Mittwoch den 14.7 um 13 - 15 Uhr in der BTK sein. Am besten dann gleich 13 Uhr unten im Foyer.

-steffen</description>
		<content:encoded><![CDATA[<p>Hey Magdalena,<br />
ich werde noch einmal am Mittwoch den 14.7 um 13 &#8211; 15 Uhr in der BTK sein. Am besten dann gleich 13 Uhr unten im Foyer.</p>
<p>-steffen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arbeit für alle by Stephan W.</title>
		<link>http://creativecoding.org/blog/2010/06/28/arbeit-fur-alle/comment-page-1/#comment-211</link>
		<dc:creator>Stephan W.</dc:creator>
		<pubDate>Thu, 08 Jul 2010 18:56:07 +0000</pubDate>
		<guid isPermaLink="false">http://creativecoding.org/blog/?p=1100#comment-211</guid>
		<description>Hey Steffen, braucht ihr noch Bilder o.ä.?</description>
		<content:encoded><![CDATA[<p>Hey Steffen, braucht ihr noch Bilder o.ä.?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Booleanisches Problem by stephan</title>
		<link>http://creativecoding.org/blog/2010/06/30/booleanisches-problem/comment-page-1/#comment-208</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Thu, 01 Jul 2010 08:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://creativecoding.org/blog/2010/06/30/booleanisches-problem/#comment-208</guid>
		<description>du musst den &#039;countlean&#039; weiter oben erst deklarieren.
durch die zeile:


else {
boolean countlean = false;
…
}

ist die variable nur innerhalb des else blocks &#039;sichtbar&#039;!


also lieber:

…
float yyn = 240;
boolean countlean;
…

else {
countlean = false;
}</description>
		<content:encoded><![CDATA[<p>du musst den &#8216;countlean&#8217; weiter oben erst deklarieren.<br />
durch die zeile:</p>
<p>else {<br />
boolean countlean = false;<br />
…<br />
}</p>
<p>ist die variable nur innerhalb des else blocks &#8217;sichtbar&#8217;!</p>
<p>also lieber:</p>
<p>…<br />
float yyn = 240;<br />
boolean countlean;<br />
…</p>
<p>else {<br />
countlean = false;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arbeit für alle by mi</title>
		<link>http://creativecoding.org/blog/2010/06/28/arbeit-fur-alle/comment-page-1/#comment-207</link>
		<dc:creator>mi</dc:creator>
		<pubDate>Wed, 30 Jun 2010 21:22:34 +0000</pubDate>
		<guid isPermaLink="false">http://creativecoding.org/blog/?p=1100#comment-207</guid>
		<description>Hu? …und wie werfe ich jetzt die .svg hinterher? Tricky…</description>
		<content:encoded><![CDATA[<p>Hu? …und wie werfe ich jetzt die .svg hinterher? Tricky…</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arbeit für alle by mi</title>
		<link>http://creativecoding.org/blog/2010/06/28/arbeit-fur-alle/comment-page-1/#comment-206</link>
		<dc:creator>mi</dc:creator>
		<pubDate>Wed, 30 Jun 2010 21:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://creativecoding.org/blog/?p=1100#comment-206</guid>
		<description>…kein Screenshot, kein Rendering, nur Text. Vielleicht hilfts Euch ja.
Viele Grüße,
Christoph und mischa


XMLElement xml;
PFont font;
PShape world;
PShape seu;
PShape saf;
PShape sas;
PShape sau;
PShape sna;
PShape ssa;

boolean a = false;
boolean b = false;
boolean c = false;
boolean d = false;
boolean e = false;
boolean time = false;

int eu = 200, as = 200, na = 200, sa = 200, au = 200, af = 200, grey = 200;

// Unteres Rechteck
int x = 20, y = 540, w = 760, h = 50;



// *****
// Daten

// Europa
int eua = 24 , eub = 24, euc = 18, eud = 16, eue = 12; 
int afa = 180, afb = 178, afc = 185, afd = 195, afe = 184;
int asa = 96, asb = 99, asc = 99, asd = 96, ase = 93;
int aua = 24, aub = 18, auc = 15, aud = 12, aue = 12;
int naa = 24, nab = 21, nac = 21, nad = 18, nae = 21;
int saa = 93, sab = 75, sac = 60, sad = 48, sae = 42;




void setup(){
  size (800, 600);
  background (255);
  smooth ();






  // Laden der Map und ausgabe des Kontinents

  world = loadShape(&quot;world.svg&quot;);

  for (int i = 0; i  x &amp;&amp; mouseX  y &amp;&amp; mouseY  x &amp;&amp; mouseX  y) &amp;&amp; (mouseY  x-x == mouseX  x+150 == mouseX  x+150+150 == mouseX  x+150+150+150 == mouseX  x+150+150+150+150 == mouseX &lt; x+x+150+150+150+150+150){
      e = true;
    }
    else
    {
      e = false;
    }  

  }
  /* if ((mouseY  y+h)){
   a = false;
   b = false;
   c = false;
   d = false;
   e = false;
   }*/





  // **********************************************
  // Programmcode für die Veränderung der Farbwerte

    // Europa - var eu


  if (a == true){
    eu = 255-eua;
    af = 255-afa;
    as = 255-asa;
    au = 255-aua;
    na = 255-naa;
    sa = 255-saa;
  } 
  else if (b == true){
    eu = 255-eub;
    af = 255-afb;
    as = 255-asb;
    au = 255-aub;
    na = 255-nab;
    sa = 255-sab;
  } 
  else if (c == true){
    eu = 255-euc;
    af = 255-afc;
    as = 255-asc;
    au = 255-auc;
    na = 255-nac;
    sa = 255-sac;
  } 
  else if (d == true){
    eu = 255-eud;
    af = 255-afd;
    as = 255-asd;
    au = 255-aud;
    na = 255-nad;
    sa = 255-sad;
  } 
  else if (e == true){
    eu = 255-eue;
    af = 255-afe;
    as = 255-ase;
    au = 255-aue;
    na = 255-nae;
    sa = 255-sae;
  } 
  else {
    eu = 200;
    af = 200;
    as = 200;
    au = 200;
    na = 200;
    sa = 200;
  }

}</description>
		<content:encoded><![CDATA[<p>…kein Screenshot, kein Rendering, nur Text. Vielleicht hilfts Euch ja.<br />
Viele Grüße,<br />
Christoph und mischa</p>
<p>XMLElement xml;<br />
PFont font;<br />
PShape world;<br />
PShape seu;<br />
PShape saf;<br />
PShape sas;<br />
PShape sau;<br />
PShape sna;<br />
PShape ssa;</p>
<p>boolean a = false;<br />
boolean b = false;<br />
boolean c = false;<br />
boolean d = false;<br />
boolean e = false;<br />
boolean time = false;</p>
<p>int eu = 200, as = 200, na = 200, sa = 200, au = 200, af = 200, grey = 200;</p>
<p>// Unteres Rechteck<br />
int x = 20, y = 540, w = 760, h = 50;</p>
<p>// *****<br />
// Daten</p>
<p>// Europa<br />
int eua = 24 , eub = 24, euc = 18, eud = 16, eue = 12;<br />
int afa = 180, afb = 178, afc = 185, afd = 195, afe = 184;<br />
int asa = 96, asb = 99, asc = 99, asd = 96, ase = 93;<br />
int aua = 24, aub = 18, auc = 15, aud = 12, aue = 12;<br />
int naa = 24, nab = 21, nac = 21, nad = 18, nae = 21;<br />
int saa = 93, sab = 75, sac = 60, sad = 48, sae = 42;</p>
<p>void setup(){<br />
  size (800, 600);<br />
  background (255);<br />
  smooth ();</p>
<p>  // Laden der Map und ausgabe des Kontinents</p>
<p>  world = loadShape(&#8220;world.svg&#8221;);</p>
<p>  for (int i = 0; i  x &#038;&#038; mouseX  y &#038;&#038; mouseY  x &#038;&#038; mouseX  y) &#038;&#038; (mouseY  x-x == mouseX  x+150 == mouseX  x+150+150 == mouseX  x+150+150+150 == mouseX  x+150+150+150+150 == mouseX < x+x+150+150+150+150+150){<br />
      e = true;<br />
    }<br />
    else<br />
    {<br />
      e = false;<br />
    }  </p>
<p>  }<br />
  /* if ((mouseY  y+h)){<br />
   a = false;<br />
   b = false;<br />
   c = false;<br />
   d = false;<br />
   e = false;<br />
   }*/</p>
<p>  // **********************************************<br />
  // Programmcode für die Veränderung der Farbwerte</p>
<p>    // Europa &#8211; var eu</p>
<p>  if (a == true){<br />
    eu = 255-eua;<br />
    af = 255-afa;<br />
    as = 255-asa;<br />
    au = 255-aua;<br />
    na = 255-naa;<br />
    sa = 255-saa;<br />
  }<br />
  else if (b == true){<br />
    eu = 255-eub;<br />
    af = 255-afb;<br />
    as = 255-asb;<br />
    au = 255-aub;<br />
    na = 255-nab;<br />
    sa = 255-sab;<br />
  }<br />
  else if (c == true){<br />
    eu = 255-euc;<br />
    af = 255-afc;<br />
    as = 255-asc;<br />
    au = 255-auc;<br />
    na = 255-nac;<br />
    sa = 255-sac;<br />
  }<br />
  else if (d == true){<br />
    eu = 255-eud;<br />
    af = 255-afd;<br />
    as = 255-asd;<br />
    au = 255-aud;<br />
    na = 255-nad;<br />
    sa = 255-sad;<br />
  }<br />
  else if (e == true){<br />
    eu = 255-eue;<br />
    af = 255-afe;<br />
    as = 255-ase;<br />
    au = 255-aue;<br />
    na = 255-nae;<br />
    sa = 255-sae;<br />
  }<br />
  else {<br />
    eu = 200;<br />
    af = 200;<br />
    as = 200;<br />
    au = 200;<br />
    na = 200;<br />
    sa = 200;<br />
  }</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vorschau Verkehrsmittel by orange_dot</title>
		<link>http://creativecoding.org/blog/2010/06/25/vorschau-verkehrsmittel/comment-page-1/#comment-204</link>
		<dc:creator>orange_dot</dc:creator>
		<pubDate>Mon, 28 Jun 2010 13:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://creativecoding.org/blog/?p=1097#comment-204</guid>
		<description>Sorry Max, viel zu spät erst deinen Post gesehen. Super spannende Idee hast du. Ich freu mich am Freitag dann vielleicht schon ein kleines Processing Sketch zu sehen :)

-steffen</description>
		<content:encoded><![CDATA[<p>Sorry Max, viel zu spät erst deinen Post gesehen. Super spannende Idee hast du. Ich freu mich am Freitag dann vielleicht schon ein kleines Processing Sketch zu sehen :)</p>
<p>-steffen</p>
]]></content:encoded>
	</item>
</channel>
</rss>
