Read my update: (I had to move it to paste-bin because the forum script is too retarded and collapses series of dots down to 3)
Not too fast.
Your script depends on you adjusting for length.
In which case:
case 0: break;
case 1: print("*"); break;
case 2: print("*.\n**"); break;
case 3: print("*..\n**.\n***"); break;
And so on