technobly/NeoPixel-KnightRider — pull request #1 by chrisatomix (2014-12-23 04:18:49+00:00)
Title: Remove unnecessary pixel writes

I was testing this with 60 pixels and noticed that the animation would start to lag after about 10 pixels. It's usually best to set all the pixel colors first, then perform one strip.show() to write them all at once inside each loop (rather than writing each pixel one at a time). With the above tweaks made, it's lightning fast now.