I am trying to simulate a beam of light travelling through a cylinder where the power of the light follows a simple sinusoidal pattern along the axis of the cylinder (i.e. the intensity increases and decreases like sin(x)). I have found an image describing roughly what I mean by intensity:
As you can see at the right bend there is an increased intensity in the light streak. How could I achieve this effect in just a straight cylinder, where the brightness goes up and down periodically as you move from left to right.
I am very new to blender and feel a bit overwhelmed on how to do this. Any help would be appreciated.