FM radio dial by clock

#!ruby -p
$_='|%71s|
'*2%[r=[*88..?l]*' ',r=~/#{0|t=$_.to_f}/?'* '+' '*($'.size-t%1*10/3):'x'*71]+$/

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

download

return top