Random Drawing Program

can i anyone show me (or tell me where i can search for) an example of a flash app that generates random drawings based on a users input such as numbers or text. thanks!

www.kirupa.com/lab/randompoints.htm

Probably this is something in the direction you are looking, too.
The flowers get a random number of leafs, the leafs get a random color and a random shape each flower.

function createflowerblast(i) {
 _root.createEmptyMovieClip("flower"+i, i+100);
 _root["flower"+i]._x = _xmouse;
 _root["flower"+i]._y = _ymouse;
 _root["flower"+i].leafs = Math.round(Math.sqrt(Math.random()*80))+3;
 _root["flower"+i].leafpoints = Math.round((Math.random()*2+1))*2;
 _root["flower"+i][leafpoint+(0)] = -Math.sqrt(Math.random()*100)*3;
 for (k=1; k<=_root["flower"+i].leafpoints; k++) {
  _root["flower"+i][leafpoint+k] = _root["flower"+i][leafpoint+(k-1)]-Math.sqrt(Math.random()*100)*3+5;
  _root["flower"+i].leafsize += _root["flower"+i][leafpoint+k];
 }
 _root["flower"+i].leafcolor = [parseInt(("0x"+(Math.round(Math.random()*239+16)).toString(16)+"ff"+(Math.round(Math.random()*239+16)).toString(16))), parseInt(("0x"+(Math.round(Math.random()*155+100)).toString(16)+(Math.round(Math.random()*155+100)).toString(16)+(Math.round(Math.random()*155+100)).toString(16))), parseInt(("0x"+(Math.round(Math.random()*155+100)).toString(16)+(Math.round(Math.random()*155+100)).toString(16)+(Math.round(Math.random()*155+100)).toString(16))), parseInt(("0x"+(Math.round(Math.random()*155+100)).toString(16)+(Math.round(Math.random()*155+100)).toString(16)+(Math.round(Math.random()*155+100)).toString(16))), parseInt(("0x"+(Math.round(Math.random()*155+100)).toString(16)+(Math.round(Math.random()*155+100)).toString(16)+(Math.round(Math.random()*155+100)).toString(16))), parseInt(("0x"+(Math.round(Math.random()*155+100)).toString(16)+(Math.round(Math.random()*155+100)).toString(16)+(Math.round(Math.random()*155+100)).toString(16)))];
 j = 0;
 _root["flower"+i].createEmptyMovieClip("leaf"+j, j+10);
 _root["flower"+i]["leaf"+j].lineStyle(1, 0x990000, 50);
 _root["flower"+i]["leaf"+j].beginGradientFill("radial", _root["flower"+i].leafcolor, [80, 80, 80, 80, 80, 80], [0, 60, 100, 140, 180, 255], {matrixType:"box", x:(-_root["flower"+i].leafsize)/2-10, y:(-_root["flower"+i].leafsize)/2-10, w:_root["flower"+i].leafsize+20, h:_root["flower"+i].leafsize+20, r:(0/180)*Math.PI});
 for (k=1; k<=(_root["flower"+i].leafpoints); k += 2) {
  _root["flower"+i]["leaf"+j].curveTo(Math.sqrt(_root["flower"+i].leafpoints-k)*-15, _root["flower"+i][leafpoint+k], Math.sqrt(_root["flower"+i].leafpoints-(k+1))*-15, _root["flower"+i][leafpoint+(k+1)]);
 }
 for (k=(_root["flower"+i].leafpoints)-1; k>1; k -= 2) {
  _root["flower"+i]["leaf"+j].curveTo(Math.sqrt(_root["flower"+i].leafpoints-k)*15, _root["flower"+i][leafpoint+k], Math.sqrt(_root["flower"+i].leafpoints-(k-1))*15, _root["flower"+i][leafpoint+(k-1)]);
 }
 _root["flower"+i]["leaf"+j].curveTo(Math.sqrt(_root["flower"+i].leafpoints-k)*15, _root["flower"+i][leafpoint+k], 0, 0);
 _root["flower"+i]["leaf"+j].endFill();
 for (j=1; j<_root["flower"+i].leafs; j++) {
  _root["flower"+i]["leaf"+0].duplicateMovieClip("leaf"+j, j+10);
  _root["flower"+i]["leaf"+j]._rotation = j*(360/_root["flower"+i].leafs);
 }
}
function doflowerblast(grow, i) {
 _root["flower"+i]._xscale = _root["flower"+i]._yscale=grow;
}
b = -20;
_root.flowerarr = [];
_root.onEnterFrame = function() {
 if (reset != 1) {
  for (n=i-5; n<=i; n++) {
   _root["flower"+n].grow += 1000000;
   doflowerblast(Math.pow((_root["flower"+n].grow), 0.15), n);
  }
 } else if (i>5) {
  b++;
  for (n=b; n<=b+20; n++) {
   _root["flower"+n]._alpha -= 5;
  }
  _root["flower"+(b-50)].removeMovieClip();
  if (b>i+51) {
   reset = 0;
   _root.flowerarr = [];
   i = 0;
   b = -20;
  }
 }
};
_root.onMouseMove = function() {
 if (reset != 1) {
  i++;
  createflowerblast(i);
 }
};
_root.onMouseDown = function() {
 reset = 1;
};