CLICK HERE TO COPY
Actionscript:
[SWF(width=800, height=600)]
var xn1:Number;
var xn:Number = Math.random() * Math.random() * .2;
var inc:int = 0;
var xp:Number = 10;
var yp:Number = 10;
var count:int = 1;
scaleX = scaleY = 2;
graphics.lineStyle(0,0x00000);
addEventListener(Event.ENTER_FRAME, onLoop);
function onLoop(evt:Event):void {
xn1 = 2 * xn % 1;
xn = xn1;
if (inc == 0){
[...]