Quarter Circle thing from Levitated in 25 lines

This is the Quarter Circle thing in 25 lines. If anyone can help me make only one thing per grid square, that would be nice :slight_smile:

Click to make a new scene.


_root.createEmptyMovieClip("rt0", 2);
//1
function drawed(r, a, b, c, d, e, f, g, h, x, y) {
    ro = 2;
    //2
    hue = new Array("555500","666600", "777700", "888800", "999900", "AAAA00", "BBBB00", "CCCC00","DDDD00");
    //3
    color = hue[random(hue.length)];
    //4
    r.lineStyle(1, "0x"+color, 100);
    //5
    r.beginFill("0x"+color, 100);
    //6
    r.moveTo(a+x, b+y);
    //7
    r.lineTo(c+x, d+y);
    //8
    r.curveTo(e+x, f+y, g+x, h+y);
    //9
    r.endFill();
    //10
}
i = 1;
//11
onEnterFrame = function () {
    if (i<50) {
        // 12
        drawed(rt0, 0, 0, 50, 0, 50, 50, 0, 50, random(11)*50, random(8)*50);
        // 13
        drawed(rt0, 50, 0, 50, 50, 0, 50, 0, 0, random(11)*50, random(8)*50);
        // 14
        drawed(rt0, 50, 50, 0, 50, 0, 0, 50, 0, random(11)*50, random(8)*50);
        // 15
        drawed(rt0, 0, 50, 50, 50, 50, 0, 0, 0, random(11)*50, random(8)*50);
        // 16
        i ++
        // 17
    }
};
onMouseDown = function () {
    if (i>49) {
        // 18
        i = 1;
        // 19
        rt0.removeMovieClip();
        // 20
        _root.createEmptyMovieClip("rt0", 2);
        // 21
    }
};


[FONT=Courier New][LEFT]
[/LEFT]
[/FONT]