Wormhole tunnel Effect

Is there any way to achieve a tunneling wormhole effect like this:
http://www.janthor.com/tunnel/index.html
in Javascript or possibly C#. Although I know nothing in C# and a lot in Javascript. Been stuck on this for a while.
Help’s much appreciated.

Make a cylinder long enough, then make a spline along the cylinder, randomly change positions of the spline control points and adjust cylinders apropriate vertex positions according to your spline, and to give the infinite look, just scroll the cylinder texture continuously.

I’ll try it, Thanks.