flash on 2012-4-29
♥0 |
Line 23 |
Modified 2012-04-29 17:10:46 |
MIT License
archived:2017-03-20 15:18:48
ActionScript3 source code
/**
* Copyright jokehn9 ( http://wonderfl.net/user/jokehn9 )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/2oDQ
*/
package {
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
var ix:int = 0
var iy:int = 0
var times:int = 0
var last:int = 0
var next:int = 0
for(ix = 0; ix < 300; ix++) {
graphics.lineStyle(Math.random()*5 +3, 0xffffff*Math.random())
times = Math.random() * 5;
last= Math.random() * 465
next= Math.random() * 465
for(iy = 0; iy< times; iy++) {
graphics.curveTo(last-30, next+30, Math.random() * 465, Math.random() * 465)
last = next;
next = Math.random() * 465
}
}
}
}
}