Code Archive Skip to content Google About Google Privacy Terms
前回に引き続き、Processingの入門的な内容を行います GWなどがありだいぶ間があいてしまったので、まずは簡単に前回までの復習をします。その後で、本日の内容である「色」と「繰り返し」について解説していきます。 目次 色について コンピュータの画面の復習 コンピュータで絵を描くということ 色を指定するには? 色の階調 3つの色の属性 表示・非表示 RGB以外の方法での色の指定 HSB (HSV) 色空間の視覚イメージ HSB (HSV) 色空間への切替方法 演習1:色彩のハーモニー 例: 配色のヒント 「モナリザ」レオナルド・ダビンチ 「睡蓮」モネ 変数 変数とは? Processingでよく用いられるデータ型 変数の使いかた 変数の使用例 変数の使用例:その2 繰り返し for文 同心円をくりかえしを用いて描画 例2:虹色のグラデーション 乱数:ランダムな
While playing with the Tendril code, I started to get more and more fascinated by the particle engine that is creating the bubble objects. For this version, I shortened the main tendril lengths, killed off the tendril branches and pulled the bubble emitter back towards the skin of the main tendril (sounds vaguely dirty). Quicktime version or check the Vimeo version below. Tendrils mod from flight4
Mozilla の John Resig さんが作った Processing.js をさっそく試してみました.プログラムのネタは今ホッテントリになっている「ほぼ日刊イトイ新聞 - がんばれ森川くんの遺伝子くん」の「群れの知能」に書いてある Boid(birdoid, Bird android)です. Boid は鳥や魚の群れの振る舞いを再現するアルゴリズムで,次の基本的なルールからなります.◆ルール1:近くの鳥たちと飛ぶスピードや方向を合わせようとすること◆ルール2:鳥たちが多くいる方へ向かって飛ぶこと◆ルール3:近くの鳥や物体に近づきすぎたら、ぶつからないように離れることhttp://www.1101.com/morikawa/2001-06-25.html群れの中の各個体をこのような単純なルールに従わせるだけで,一見複雑な動きを簡単にそれらしく再現することができます. 「群れの知能」を
As a sort-of reverse birthday present I’ve decided to release one of my largest projects, in recent memory. This is the project that I’ve been alluding to for quite some time now: I’ve ported the Processing visualization language to JavaScript, using the Canvas element. I’ve been working on this project, off-and-on now, for the past 7 months – it’s been a fun, and quite rewarding, challenge. The f
It occurred to me the other day as I was scrubbing through an audio track and writing down the time stamps for major transitions, “There has got to be an easier way to do this.” When I first started playing around with audio responsive visuals, I simply relied on the FFT data and nothing more. This was fine for a while but soon I started to want a bit more control. I knew that accurate beat detect
I tend to avoid trying new things until the last minute. I usually have to be dragged kicking and pouting into new technology or a new way of thinking. However, if I need to learn something new for a client, though I will still kick and pout, I find the threat of a shitty deadline is just the thing to allow me to dive into something new. JBox2D is the new thing that is occupying my time these days
天気予報 http://jp.androlib.com/android.application.cc-primevision-weather01-qnCi.aspx 天気予報のアプリを作ってみました。 そんなのすでにたくさんありそうじゃん!と思うかもしれないけど、意外とないんです。 いくつかアプリはあるんだけど一つだけ足りない部分があって、それは降水確率。 晴れとか曇りとかだけじゃなくて降水確率も知りたいので、そういうのがないなら自分で作ろうかと。 単にどっかのRSS引っ張ってくればいいだけなので。 どこの天気予報でも降水確率は必ず出ているんだけど、それをデータとして提供しているところは少ないです。 Yahooもないし、WeatherHackっていうAPI公開してるlivedoorでも降水確率に対応してない。 で、見つけたのがMSNの天気予報。ここのRSSには降水確率がありました。なのでM
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く