<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>kdtksh.com &#187; processing</title>
	<atom:link href="http://kdtksh.com/category/processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://kdtksh.com</link>
	<description>日記とか写真とか</description>
	<lastBuildDate>Sun, 05 Feb 2012 01:55:32 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kdtksh.com/category/processing/feed/" />
		<item>
		<title>Processingでカメラからの映像を編集してみた。</title>
		<link>http://kdtksh.com/processing/2011/05/processing%e3%81%a7%e3%82%ab%e3%83%a1%e3%83%a9%e3%81%8b%e3%82%89%e3%81%ae%e6%98%a0%e5%83%8f%e3%82%92%e7%b7%a8%e9%9b%86%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f/</link>
		<comments>http://kdtksh.com/processing/2011/05/processing%e3%81%a7%e3%82%ab%e3%83%a1%e3%83%a9%e3%81%8b%e3%82%89%e3%81%ae%e6%98%a0%e5%83%8f%e3%82%92%e7%b7%a8%e9%9b%86%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f/#comments</comments>
		<pubDate>Sun, 29 May 2011 10:44:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://kdtksh.com/?p=1803</guid>
		<description><![CDATA[最近プログラムができるようになりたい！と思っていまして。 Pythonを勉強しつつ、奥さんに自慢できないとつまらんなってことでProcessingもいじりはじめました。 で、本に書いてあるやつを試してみたのがこれ。 何を &#8230; <a href="http://kdtksh.com/processing/2011/05/processing%e3%81%a7%e3%82%ab%e3%83%a1%e3%83%a9%e3%81%8b%e3%82%89%e3%81%ae%e6%98%a0%e5%83%8f%e3%82%92%e7%b7%a8%e9%9b%86%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://kdtksh.com/processing/2009/09/processingstudyno_01/' rel='bookmark' title='processingStudyNo_01'>processingStudyNo_01</a></li>
<li><a href='http://kdtksh.com/shopping/book/2009/09/built-with-processing-%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%82%a2%e3%83%bc%e3%83%88%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e5%85%a5/' rel='bookmark' title='Built with Processing デザイン/アートのためのプログラミング入門［改訂版］'>Built with Processing デザイン/アートのためのプログラミング入門［改訂版］</a></li>
<li><a href='http://kdtksh.com/diary/2008/05/%e3%83%a1%e3%82%a4%e3%83%aa%e3%82%aa%e3%80%82/' rel='bookmark' title='メイリオ。'>メイリオ。</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>最近プログラムができるようになりたい！と思っていまして。<br />
Pythonを勉強しつつ、奥さんに自慢できないとつまらんなってことで<a href="http://processing.org/">Processing</a>もいじりはじめました。<br />
で、本に書いてあるやつを試してみたのがこれ。<br />
<a href="http://kdtksh.com/wp-content/uploads/2011/05/processing-camera-study01.png" rel="lightbox[1803]"><img src="http://kdtksh.com/wp-content/uploads/2011/05/processing-camera-study01.png" alt="" title="processing-camera-study01" width="600" height="375" class="aligncenter size-full wp-image-1804" /></a><br />
何をやっているかというと、PCのカメラで読み込んだ映像からピクセル単位で色、彩度、輝度を取り出して、それらの数値から円の図形に変換するやつ。<br />
本をまんま写しただけだけど、何かを作った気になれて、奥さんにも自慢できてやりがいがある。<br />
しかも内容はこれだけ。</p>
<pre>
<code>
import processing.video.*;

Capture Camera;
void setup(){
  size(800, 500);
  colorMode(HSB, 256);
  noFill();
  strokeWeight(2);
  Camera = new Capture(this, width, height, 12);
}

void draw() {
  background(0);
  Camera.loadPixels();
  for(int y=0 ; y < height ; y+=10) {
    for(int x=0 ; x < width ; x+=10) {
      int pos = (y * width) + x;
      color c = Camera.pixels[pos];
      float h = hue(c);
      float s = saturation(c);
      float b = 20 * brightness(c) / 256;
      stroke(h, s, 256);
      ellipse(x, y, b, b);
    }
  }
}

void captureEvent(Capture camera) {
  camera.read();
}
</code>
</pre>
<p><a href="http://kdtksh.com/wp-content/uploads/2011/05/sketch_may28c.app.zip">これのMac用アプリ</a><br />
Windowsではカメラ周りは色々やらないといけないらしく、自分の環境ではできなかったから公開できず断念。</p>
<p><a href="http://www.thegreeneyl.com/mit-media-lab-identity-1" target="_blank">MITの新しいVIも</a>、<a href="http://code.google.com/intl/ja/creative/radiohead/viewer.html" target="_blank">レディヘのPVも（再生後ぐりんぐりんできます）</a>Processingが使われているとか。</p>
<p><a href="http://www.aaronkoblin.com/work/flightpatterns/" target="_blank">フライトパターンをシミュレートしたやつ</a>が有名らしい。<br />
<iframe width="560" height="349" src="http://www.youtube.com/embed/ystkKXzt9Wk?hd=1" frameborder="0" allowfullscreen></iframe></p>
<p>きれいだなぁ。</p>
<p>ちなみに勉強している本はこれです。</p>
<div class="amazlet-box" style="margin-bottom:0px;">
<div class="amazlet-image" style="float:left;margin:0px 12px 1px 0px;"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4861007070/amazon052a-22/ref=nosim/" name="amazletlink" target="_blank"><img src="http://ecx.images-amazon.com/images/I/51ZbKIuYEvL._SL160_.jpg" alt="Built with Processing[Ver. 1.x対応版] -デザイン/アートのためのプログラミング入門" style="border: none;" /></a></div>
<div class="amazlet-info" style="line-height:120%; margin-bottom: 10px">
<div class="amazlet-name" style="margin-bottom:10px;line-height:120%"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4861007070/amazon052a-22/ref=nosim/" name="amazletlink" target="_blank">Built with Processing[Ver. 1.x対応版] -デザイン/アートのためのプログラミング入門</a>
<div class="amazlet-powered-date" style="font-size:80%;margin-top:5px;line-height:120%">posted with <a href="http://www.amazlet.com/browse/ASIN/4861007070/amazon052a-22/ref=nosim/" title="Built with Processing[Ver. 1.x対応版] -デザイン/アートのためのプログラミング入門" target="_blank">amazlet</a> at 11.05.29</div>
</div>
<div class="amazlet-detail">田中 孝太郎 前川 峻志 <br />ビー・エヌ・エヌ新社 <br />売り上げランキング: 12137</div>
<div class="amazlet-sub-info" style="float: left;">
<div class="amazlet-link" style="margin-top: 5px"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4861007070/amazon052a-22/ref=nosim/" name="amazletlink" target="_blank">Amazon.co.jp で詳細を見る</a></div>
</div>
</div>
<div class="amazlet-footer" style="clear: left"></div>
</div>
<p>関連するエントリーのリンクを見てみたら、実は2009年にもすでに本を買ってちょいちょいやっていたっていうね・・・。<br />
今度こそ！</p>
<p>Related posts:<ol>
<li><a href='http://kdtksh.com/processing/2009/09/processingstudyno_01/' rel='bookmark' title='processingStudyNo_01'>processingStudyNo_01</a></li>
<li><a href='http://kdtksh.com/shopping/book/2009/09/built-with-processing-%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%82%a2%e3%83%bc%e3%83%88%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e5%85%a5/' rel='bookmark' title='Built with Processing デザイン/アートのためのプログラミング入門［改訂版］'>Built with Processing デザイン/アートのためのプログラミング入門［改訂版］</a></li>
<li><a href='http://kdtksh.com/diary/2008/05/%e3%83%a1%e3%82%a4%e3%83%aa%e3%82%aa%e3%80%82/' rel='bookmark' title='メイリオ。'>メイリオ。</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://kdtksh.com/processing/2011/05/processing%e3%81%a7%e3%82%ab%e3%83%a1%e3%83%a9%e3%81%8b%e3%82%89%e3%81%ae%e6%98%a0%e5%83%8f%e3%82%92%e7%b7%a8%e9%9b%86%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kdtksh.com/processing/2011/05/processing%e3%81%a7%e3%82%ab%e3%83%a1%e3%83%a9%e3%81%8b%e3%82%89%e3%81%ae%e6%98%a0%e5%83%8f%e3%82%92%e7%b7%a8%e9%9b%86%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f/" />
	</item>
		<item>
		<title>processingStudyNo_01</title>
		<link>http://kdtksh.com/processing/2009/09/processingstudyno_01/</link>
		<comments>http://kdtksh.com/processing/2009/09/processingstudyno_01/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 15:31:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[processing]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[study]]></category>

		<guid isPermaLink="false">http://www.kdtksh.com/?p=1156</guid>
		<description><![CDATA[ようやくprocessingりました。 まずはここから。 ちなみに飛び先は無限ループなので、見終わった後は閉じるのを忘れずに！ ※chromeとiPhoneだと見れないっぽいです。 Built with Processi &#8230; <a href="http://kdtksh.com/processing/2009/09/processingstudyno_01/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://kdtksh.com/shopping/book/2009/09/built-with-processing-%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%82%a2%e3%83%bc%e3%83%88%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e5%85%a5/' rel='bookmark' title='Built with Processing デザイン/アートのためのプログラミング入門［改訂版］'>Built with Processing デザイン/アートのためのプログラミング入門［改訂版］</a></li>
<li><a href='http://kdtksh.com/shopping/2009/09/thinkpad-usb-%e3%83%88%e3%83%a9%e3%83%83%e3%82%af%e3%83%9d%e3%82%a4%e3%83%b3%e3%83%88%e3%82%ad%e3%83%bc%e3%83%9c%e3%83%bc%e3%83%89%e6%97%a5%e6%9c%ac%e8%aa%9e%e3%82%92%e5%8d%b3%e8%b2%b7%e3%81%84/' rel='bookmark' title='Lenovo ThinkPad USB トラックポイントキーボード(日本語)を即買い。'>Lenovo ThinkPad USB トラックポイントキーボード(日本語)を即買い。</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kdtksh.com/processing/study09092702/index.html"><img src="http://www.kdtksh.com/wp-content/uploads/2009/09/study09092702-Built-with-Processing.png" alt="study09092702 - Built with Processing" title="study09092702 - Built with Processing" width="495" height="497" class="alignnone size-full wp-image-1164" /></a><br />
<br />
ようやくprocessingりました。<br />
まずはここから。<br />
<br />
ちなみに飛び先は無限ループなので、見終わった後は閉じるのを忘れずに！<br />
※chromeとiPhoneだと見れないっぽいです。</p>
<div class="amazlet-box" style="margin-bottom:0px;">
<div class="amazlet-image" style="float:left;"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4861005582/kdtksh-22/ref=nosim/" name="amazletlink" target="_blank"><img src="http://ecx.images-amazon.com/images/I/41XEE%2BuMOzL._SL160_.jpg" alt="Built with Processing [改訂版]" style="border: none;" /></a></div>
<div class="amazlet-info" style="float:left;margin-left:15px;line-height:120%">
<div class="amazlet-name" style="margin-bottom:10px;line-height:120%"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4861005582/kdtksh-22/ref=nosim/" name="amazletlink" target="_blank">Built with Processing [改訂版]</a>
<div class="amazlet-powered-date" style="font-size:7pt;margin-top:5px;font-family:verdana;line-height:120%">posted with <a href="http://www.amazlet.com/browse/ASIN/4861005582/kdtksh-22/ref=nosim/" title="Built with Processing [改訂版]" target="_blank">amazlet</a> at 09.09.28</div>
</div>
<div class="amazlet-detail">前川 峻志 田中 孝太郎 <br />ビー・エヌ・エヌ新社 <br />売り上げランキング: 117584</div>
<div class="amazlet-review" style="margin-top:10px; margin-bottom:10px">
<div class="amazlet-review-average" style="margin-bottom:5px">おすすめ度の平均: <img src="http://images-jp.amazon.com/images/G/09/x-locale/common/customer-reviews/stars-3-5.gif" alt="3.5" /></div>
<p><img src="http://images-jp.amazon.com/images/G/09/x-locale/common/customer-reviews/stars-4-0.gif" alt="4" /> もう少し仕様が詳しければ良いです<br /><img src="http://images-jp.amazon.com/images/G/09/x-locale/common/customer-reviews/stars-3-0.gif" alt="3" /> デザインとアートだけに使っていてはもったいない言語<br /><img src="http://images-jp.amazon.com/images/G/09/x-locale/common/customer-reviews/stars-4-0.gif" alt="4" /> さっそく改訂版を買いました</div>
<div class="amazlet-link" style="margin-top: 5px"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4861005582/kdtksh-22/ref=nosim/" name="amazletlink" target="_blank">Amazon.co.jp で詳細を見る</a></div>
</div>
<div class="amazlet-footer" style="clear: left"></div>
</div>
<p>Related posts:<ol>
<li><a href='http://kdtksh.com/shopping/book/2009/09/built-with-processing-%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%82%a2%e3%83%bc%e3%83%88%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e5%85%a5/' rel='bookmark' title='Built with Processing デザイン/アートのためのプログラミング入門［改訂版］'>Built with Processing デザイン/アートのためのプログラミング入門［改訂版］</a></li>
<li><a href='http://kdtksh.com/shopping/2009/09/thinkpad-usb-%e3%83%88%e3%83%a9%e3%83%83%e3%82%af%e3%83%9d%e3%82%a4%e3%83%b3%e3%83%88%e3%82%ad%e3%83%bc%e3%83%9c%e3%83%bc%e3%83%89%e6%97%a5%e6%9c%ac%e8%aa%9e%e3%82%92%e5%8d%b3%e8%b2%b7%e3%81%84/' rel='bookmark' title='Lenovo ThinkPad USB トラックポイントキーボード(日本語)を即買い。'>Lenovo ThinkPad USB トラックポイントキーボード(日本語)を即買い。</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://kdtksh.com/processing/2009/09/processingstudyno_01/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kdtksh.com/processing/2009/09/processingstudyno_01/" />
	</item>
		<item>
		<title>Built with Processing デザイン/アートのためのプログラミング入門［改訂版］</title>
		<link>http://kdtksh.com/shopping/book/2009/09/built-with-processing-%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%82%a2%e3%83%bc%e3%83%88%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e5%85%a5/</link>
		<comments>http://kdtksh.com/shopping/book/2009/09/built-with-processing-%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%82%a2%e3%83%bc%e3%83%88%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e5%85%a5/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 15:24:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[book]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[Built with Processing デザイン/アートのためのプログラミング入門]]></category>

		<guid isPermaLink="false">http://www.kdtksh.com/?p=845</guid>
		<description><![CDATA[今月の広告系の雑誌（誌名わすれちった）のDV（Data Visualization）の記事に触発されて、買っちゃいました！ processingの本！ とりあえず勉強します。 Built with Processing  &#8230; <a href="http://kdtksh.com/shopping/book/2009/09/built-with-processing-%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%82%a2%e3%83%bc%e3%83%88%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e5%85%a5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kdtksh.com/wp-content/uploads/2009/09/IMG_02331.jpg" rel="lightbox[845]"><img src="http://www.kdtksh.com/wp-content/uploads/2009/09/IMG_02331-225x300.jpg" alt="built with processing" title="built with processing" width="225" height="300" class="alignleft size-medium wp-image-846" /></a><br />
<span id="more-845"></span><br />
今月の広告系の雑誌（誌名わすれちった）のDV（Data Visualization）の記事に触発されて、買っちゃいました！<br />
processingの本！<br />
とりあえず勉強します。</p>
<div class="amazlet-box" style="margin-bottom:0px;">
<div class="amazlet-image" style="float:left;"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4861005582/kdtksh-22/ref=nosim/" name="amazletlink" target="_blank"><img src="http://ecx.images-amazon.com/images/I/41XEE%2BuMOzL._SL160_.jpg" alt="Built with Processing [改訂版]" style="border: none;" /></a></div>
<div class="amazlet-info" style="float:left;margin-left:15px;line-height:120%">
<div class="amazlet-name" style="margin-bottom:10px;line-height:120%"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4861005582/kdtksh-22/ref=nosim/" name="amazletlink" target="_blank">Built with Processing [改訂版]</a>
<div class="amazlet-powered-date" style="font-size:7pt;margin-top:5px;font-family:verdana;line-height:120%">posted with <a href="http://www.amazlet.com/browse/ASIN/4861005582/kdtksh-22/ref=nosim/" title="Built with Processing [改訂版]" target="_blank">amazlet</a> at 09.09.28</div>
</div>
<div class="amazlet-detail">前川 峻志 田中 孝太郎 <br />ビー・エヌ・エヌ新社 <br />売り上げランキング: 117584</div>
<div class="amazlet-review" style="margin-top:10px; margin-bottom:10px">
<div class="amazlet-review-average" style="margin-bottom:5px">おすすめ度の平均: <img src="http://images-jp.amazon.com/images/G/09/x-locale/common/customer-reviews/stars-3-5.gif" alt="3.5" /></div>
<p><img src="http://images-jp.amazon.com/images/G/09/x-locale/common/customer-reviews/stars-4-0.gif" alt="4" /> もう少し仕様が詳しければ良いです<br /><img src="http://images-jp.amazon.com/images/G/09/x-locale/common/customer-reviews/stars-3-0.gif" alt="3" /> デザインとアートだけに使っていてはもったいない言語<br /><img src="http://images-jp.amazon.com/images/G/09/x-locale/common/customer-reviews/stars-4-0.gif" alt="4" /> さっそく改訂版を買いました</div>
<div class="amazlet-link" style="margin-top: 5px"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4861005582/kdtksh-22/ref=nosim/" name="amazletlink" target="_blank">Amazon.co.jp で詳細を見る</a></div>
</div>
<div class="amazlet-footer" style="clear: left"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://kdtksh.com/shopping/book/2009/09/built-with-processing-%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%82%a2%e3%83%bc%e3%83%88%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e5%85%a5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kdtksh.com/shopping/book/2009/09/built-with-processing-%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%82%a2%e3%83%bc%e3%83%88%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e5%85%a5/" />
	</item>
	</channel>
</rss>

