frocessing - lesson 3
ランダムな大きさの円を描く
/**
* Copyright mathatelle ( http://wonderfl.net/user/mathatelle )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/4lkd
*/
// forked from mathatelle's frocessing - lesson 2
// forked from mathatelle's frocessing - lesson 1
// ランダムな大きさの円を描く
package {
import frocessing.display.*;
public class FrocessingLesson extends F5MovieClip2DBmp{
public function setup():void {
//noLoop();
}
public function draw():void {
var x:Number = random(width);
var y:Number = random(height);
var diameter:Number = random(6,30);
ellipse(x, y, diameter, diameter);
}
}
}