After playing a lot with this random motion trick, I wanted to see how it look in 3d.
here is the result (click to start)
At one point I wanted to add color variations to the line, unfortunately sorting line in space was a whole another problem. For another day. Maybe.
I used Robert Penner's Vector3d class which allowed me to add keyboard interaction without having to deal with advanced 3d problems.