Larson Scanner
The Larson Scanner is a light pattern special effect named after Glen A. Larson. Larson used this pattern to give his Battlestar Galactica Cylon and KITT robot eyes a sense of sentience. See Knight Rider for the backstory.
Description
A set of usually red pixels moves back and forth over the LED strip. The pixels are brighter in the center and are dimmer at the edges of the set. You can see an example of this in the Larson Scanner Pumpkin Kit
Color RGB values
We will need a set of predefined colors for various brightness of red:
Note that the color levels are not linear. You can adjust these and add more intermediate levels for wider patterns.
Full Set of Blocks
Exercises
- Add a color parameter
- Add a parameter for the width of the pattern