Hi I would like to move 7pixels back and forth with faded trail at

Hi
I would like to move 7pixels back and forth with faded trail at both end
Please someone advise how to make it
Thanks

Here’s a sketch that might give you some ideas.

Not sure if Neo means:

  1. 7 separate ‘pixels’ moving along a strand of, let’s say 60 pixels, or
  2. a single ‘line’ that’s 7 pixels long that’s moving along a strand of, let’s say 60 pixels, or
  3. a single pixel moving along a strand that’s 7 pixels long.

I believe Mark’s routine handles the (most difficult) 2nd one.

@Andrew_Tuline
Yes it is same as #2

@marmil

I will play with your code and update soon

Thanks

@marmil

Hi

I have managed to move 7 pixels with faded trail at both end using your code.

Only outer pixel of the bar is making a trail effect. Inner pixels are at full brightness

if i want to make a faded trail effect like below how i can do it. please advise

PIXEL # 1 2 3 4 5 6 7
I I I I I I I
BRIGHTNESS. 10 50 100 200 100 50 10

                              MIN-------------MAX-----------MIN

Thanks

Looking forward to seeing what you come up with Neo.