Help Python Effects

  • Hello everybody


    Maybe someone can help me here. I'm trying to adjust the effect sparks.py. I would like a static color as a background and single points which light up randomly. Unfortunately I had no success so far.


    Can someone give me a hint?


    Thank you very much...



    The original sparks.py:


  • This line should set the background colour:
    ledData += bytearray((0, 0, 0))



    I think I have a modified version somewhere which once the leds were mostly full would then randomly set them back to the background.


    Unfortunately I have not made it yet ... if you still have a template, that would be great! :)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!