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.

This guide was first published on May 30, 2017. It was last updated on Dec 09, 2018. This page (Photon) was last updated on Nov 11, 2017.