From: Ilmari Heikkinen Date: 2004-12-10T00:34:15+09:00 Subject: Re: [SOT]Signatures and one liners On 9.12.2004, at 15:47, Florian Gross wrote: > Maybe use k=PLATFORM["win"]?`cls`:`clear` -- it's also shorter. Only problem is that "win" matches to "powerpc-darwin" "win32" maybe? Took out one line with some math k=PLATFORM["win32"]?`cls`:`clear`;r=Array;m="Quack!";n="Duck!";c=0; d=0.1;loop{f=r. new(12){" "*72};72.times{|i|v=6*Math.sin(d*(i+c));(i+2)%4<1&&(j=i/4;f[6+v][i -2]=m[(j- c/12)%6];f[6-v][i]=n[(j+c/12)%5])};puts k,f;c+=4;sleep d}