RGB LED Strip Chaotic Colors Raspberry Pi


Pseudocode

  1. Initialize libraries, Lorenz attractor variables, and variable that stores color.
  2. Loop

           a. Calculate delta time.

           b. Update Lorenz positional x,y,z variables. Use delta time.

           c. Convert Lorenz current positional x,y,z values to RGB color value.

           d. Store color value.

           e. Set all LEDs in strip to color value stored.

Specific Implementation Code

This specific implementation of the pseudocode is using C, and rpi_ws281x library.

Code is currently being commented and edited for users’ benefit. Check for updates in Home page or here for news on release.