Photon is a simple logo turtle for NeoPixels. The Photon is a color cursor that leaves a trail color as it moves. You can move Photon forward or backward, change the trail color or lift/lower the pen.

In the example below, we repeat 9 times a move forward and a color shift. Then, we set the photon in eraser mode and have it go back to clear up the circle. This creates a cool effect of bouncing rainbow animation.

To get started, try playing with these two blocks:

  • photon forward let you move the photon on the LED strip
  • photon set hue lets you change the color hue from 0 to 255.

Photon is inspired from LightLogo from Brian Silverman.

Last updated on Nov 11, 2017 Published on May 30, 2017