Today I have an update of the POV globe. I spent some more time trying to program the lights to produce random colours. This was very successful as you will see with the photos below. I included the Python3 script.
import board import random import neopixel import time x = 0 pixels = neopixel.NeoPixel(board.D18, 72) #Setting the output pin to 18 and setting up 72 LEDs while True: pixels[x] = ((random.randint(1, 255)), (random.randint(1, 255)), (random.randint(1, 255))) #Randomise colour time.sleep(.01) #Delay 100th of a second x = x + 1 if x > 71: #Since there are 72 LEDs reset to the start x = 0
The script isn't very long but works great!!
I have been working on programming the planet but that will be an all summer job. I created a graph to show how much work it will be to program. I divided the world into a grid so I can address the LED's correctly to display the world. And yes, I did draw this out myself...
Below are photos of the new script running on the globe. Hope you enjoy!!
As you can see, in each photo the LEDs are a different colour. I love sitting and watching the globe, it is hypnotizing.
Thank you for reading
Dale Winhold
Top Comments