I use FastLED to pulse a 12 LED AdaFruit NeoPixel Ring at 50 Hz

I use FastLED to pulse a 12 LED AdaFruit NeoPixel Ring at 50 Hz with just 5% ON time. The hemisphere is made using FreeCAD, some python coding, some math and a 3D printer. If you rotate the hemisphere at some very specific revolutions you get the impression that the leaves will stand still or even grow upward.

This is my first and still incomplete prototype.

Trippy effect. Was the 50Hz pulse and 5% ON time arrived at through experimentation or some other way?

At 50 Hz the human eye doesn’t see any flicker, well almost. The on time comes by some experiments. Then adjust rotation speed.

Or do it the other way: choose a fixed rotation speed and make sure, your LEDs strobe whenever the object moved 137.5 degrees or multiple thereof. I’ m trying that as well, but it seems I fried this hall sensor… Fortunately, I ordered 10. :wink:

Ah, that makes sense. Thanks.

Can you share your code?

@Nadine_Tuhaimer : Here you are: http://coto.p7.de/flux.zip

Fell free to ask if something is confusing. The code was not written with audience in mind. :wink: