FM radio dial by @tttttanaka

#!ruby -n
j="|#{' '*71}|

";n=$_.to_i;87<n&&n<?m?j[0|($_.to_f-81-3*z=n/33)*-~z-1.5]=42:j.tr!(' ','x');puts"|#{[*88..?l]*' '}|",j

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

download

return top