LiveCoding test
/**
* Copyright aasdb ( http://wonderfl.net/user/aasdb )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/2JO4
*/
package {
import frocessing.display.*;
[SWF(width="465", height="465", frameRate="60")]
public class FlashTest extends F5MovieClip2DBmp {
private var WIDTH:Number = 465;
private var HEIGHT:Number = 465;
public function FlashTest() {
super();
}
public function setup():void {
size(WIDTH, HEIGHT);
background(0);
colorMode(HSB, 255);
noFill();
}
public function draw():void {
stroke(random(20), sin(frameCount/100.0)*127+127,255,20);
line(0,0,random(WIDTH),random(HEIGHT));
}
}
}