I'm toying around and trying to get a single red stripe to flow along the length of a cylinder. I'm trying to copy ideas from this tutorial, but I can't quite get it right. I made a gradient with three colors (white, red, and white) and I've got the bands of color being produced alright, but they're a bit skewed and don't line up perfectly with the geometry.
My aim is to incorporate this into some sort of abstract looping animation.
Think of an LED strip, and having just a single LED light up and go down the chain. I want to achieve that similar look using a cylindrical object, and a stripe of color. If I could get it to work with a bent cylinder (like one along a curve) that would be great too.
Here's what I've got so far: