slope lines by yowa

$<.map{|$_|x=2;scan(/./){($*[$.+99+x-=1]||=[])[$.-x]=$&}}
$*.map{|b|b&&puts(b.map{|c|c||' '}*' ')}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page