Processing.js の練習場
void setup() { size(250, 250); frameRate(20); } void draw() { //background(255); fadeToWhite(); stroke(mouseX, 0, mouseY); ellipse(width/2, height/2, mouseX, mouseY); } void fadeToWhite() { noStroke(); fill(255, 30); rectMode(CORNER); rect(0, 0, width, height); }
Copyright 2011 Yutaka Kachi
このHTMLファイルは、
MITライセンス準拠
で利用できます。
wise9
より提供頂きました。