
        var size = 50;
        var radius = 100;
        var dichte = 10;



    values = Dialog.prompt("graffmaster:", [
        { value: size, description: "size", width: 20 },
        { value: radius, description: "radius", width: 30 },
        { value: dichte, description: "dichte", width: 20 }
	]);
    if (values != null) {
        size = values[0];
        radius = values[1];
        dichte = values[2];
    }


res = new Path();
var art = activeDocument.getSelectedItems()[0];

		art.curvesToPoints(2, 10000);
		var count = art.curves.length;
        for (var i = 0; i < count; i++) {
            var bezier = art.curves[i];
            var pt = bezier.getPoint(0);
            var n = bezier.getNormal(1);
            if (n.x != 0 || n.y != 0) {
        var degree = Math.random() * 360;
        var rad = radius * Math.random();
        var xPt = pt.x + rad * Math.sin(degree * Math.PI / 180);
        var yPt = pt.y + rad * Math.cos(degree * Math.PI / 180);
        var newSize = size * Math.random() ;
        rect = new Rectangle(0, 0, newSize, newSize);
        rect.center = new Point(xPt, yPt);
        activeDocument.createOval(rect);
            }
        }
	
art.remove();
