flash on 2009-10-9
/**
* Copyright yd_niku ( http://wonderfl.net/user/yd_niku )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/nI8D
*/
package {
import flash.display.Sprite;
import frocessing.color.ColorHSV;
import frocessing.display.F5MovieClip2DBmp;
public class FlashTest extends F5MovieClip2DBmp {
private var _hsv:ColorHSV;
public function FlashTest() {
// write as3 code here..
_hsv = new ColorHSV( 0, 1, 1, 1 );
size( 465, 465 );
noStroke();
background( 0 );
translate( 232, 232 );
for( var i:int = 0; i<465; i++ ) {
fill( _hsv.value );
rect( i*0.2, i*0.2, 10, 10);
_hsv.h++;
rotate( i/100 );
}
}
}
}