LED Sweep

I want to make a line of 8 LED's and make it sweep, almost like a larson scanner, but only to one side, then loop. How would I got about connecting the LED's and programming them?

A simple switching would be sufficient.

Heh, I have one sitting right next to me (Lol) I just wanted to see if I could make a simple one-way sweep, and how I would go about it.

Ok, would you have to do int ledPin = ; for all of the LED's?

Thanks! :D