このウィキの読者になる
更新情報がメールで届きます。
このウィキの読者になる
カテゴリー
最近更新したページ
2011-12-05
2010-02-05
2008-01-31
2007-12-09
2007-11-22
2007-11-04
2007-10-06
2007-05-17
2007-05-13
2007-05-11
2007-05-10
最新コメント
1-14 by awesome things!
117 by stunning seo guys
Processing4 Data by stunning seo guys
送信ボタンの仕組み by stunning seo guys
511 by stunning seo guys
510 by music production software
ProStr by awesome things!
FrontPage by check it out
CSV形式とは by check it out
Menu

Processing1


float xoff = 0.0;
float xincrement = 0.01;

void setup() {
size(200,200); background(0); frameRate(30); smooth(); noStroke();
}

void draw()
{
// Create an alpha blended background fill(0, 10); rect(0,0,width,height); //float n = random(0,width); // Try this line instead of noise // Get a noise value based on xoff and scale it according to the window's width float n = noise(xoff)*width; // With each cycle, increment xoff xoff += xincrement; // Draw the ellipse at the value produced by perlin noise fill(200); ellipse(n,height/2,16,16);
}
2006年11月14日(火) 17:43:38 Modified by notarejini06




スマートフォン版で見る