There are more than a dozen guides in the Adafruit Learning System with code samples on how to animate NeoPixel rings... here are two great ones to get you started!
You can even use the NeoPixel Strand Test example straight out of the Arduino IDE for a very nice rainbow effect.
Text editor powered by tinymce.