CLICK HERE TO COPY
Actionscript:
[SWF(width = 500, height = 500)]
const TWO_PI:Number = Math.PI * 2;
var centerX:Number = stage.stageWidth / 2;
var centerY:Number = stage.stageHeight / 2;
addEventListener(Event.ENTER_FRAME, onLoop);
function onLoop(evt:Event):void{
// data
var points:Array = [];
var i:int = 0;
var pointNum : int = Math.max(2,int(mouseX / 12))
var radius:Number = 200;
[...]