a,p=io.read(2,3)for i=0,2*p-1 do print((' '):rep(a+math.ceil(a*math.sin(6.283*i/p)))..'*')end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page