# Ruby 65

    (1..1.0/0).map{|i|puts" ".*(20*Math.sin(i*0.1)+20)+?|;sleep 0.05}

Starts creating an infinite array and prints while doing so.