CLICK HERE TO COPY
Actionscript:
[SWF(width=800, height=600)]
var dupes:int = 5
var pntNum:int = 180;
var hh:Number = stage.stageHeight / 2;
var points:Vector.<Number> = new Vector.<Number>();
var vel:Vector.<Number> = new Vector.<Number>();
var cmds:Vector.<int> = new Vector.<int>();
var vectors:Vector.<Shape> = new Vector.<Shape>();
for (var i:int = 0; i<dupes; i++){
vectors[i] = Shape(addChildAt(new Shape(),0));
vectors[i].x = 10 * i;
vectors[i].y = -10 * i;
}
var [...]