  var a = perimeter / n;
        var width = minTileWidth;
        var angleOffset = -Math.PI / 2;

        paper.clear();

        var angle = angleOffset;
        for (var i = 0; i < qlist.length; i++) {
            var tile = createNewTile(i, qlist[i], a, width);
            var y = y_padding + R + R * Math.sin(angle);
            var x = x_padding + R + R * Math.cos(angle);
            tile.move(x, y);
            tile.rotate(angle);
            tiles.push(tile);
            angle += alpha;
        }

 