Decrease Number exponentially(or at rate) via AS3?

I am making (just for the sake of boredom and practice), a ‘generator’ of sorts, where as you drag the mouse along it will create a path of circles behind it along the path. The problem i am having is i want to make the size of the circles decrease in size at an exponential rate(so as the size of the circles decrease, the slower the rate of the decrease). The math is becoming difficult to figure out. Here is my Code:


import flash.events.TimerEvent;
import flash.display.Sprite;

//Mouse.hide();


var rate:int = 10;

stage.addEventListener(MouseEvent.MOUSE_MOVE, create);

var ballInd:int = 0;
var ballMov:Array = new Array();

var spacing = 0;
var max:int = 15;
var amt:int = 0;

var startSize = 30;

function create(e:MouseEvent)
{
    spacing++;
    if (spacing == 5)
    {
        if (amt < max)
        {
            spacing = 0;
            amt++;
            ballMov[ballInd] = new ball();
            ballMov[ballInd].x = mouseX;
            ballMov[ballInd].y = mouseY;
            ballMov[ballInd].width = **???**;
            ballMov[ballInd].height = **???**;
            this.addChild(ballMov[ballInd]);

        }
        ballInd++;
    }
}

thanks.