Hi everyone,
I'm trying to create my first custom effect for Hyperion. I have set up the python file and am able to run my effect.
Now I'm stuck, because something as simple as rotating my image won't work:
Code
import hyperion, time
while not hyperion.abort():
hyperion.imageLinearGradient(0,0,hyperion.imageWidth(),hyperion.imageHeight(),0,0,hyperion.imageWidth(),hyperion.imageHeight(),bytearray([0,33,165,227,255,255,236,58,170,127]),0)
hyperion.imageCRotate(180)
hyperion.imageShow()
time.sleep(1)
I expected the image to rotate by 180 degrees every second, but it's just still.
Is there a way to look into the python scripts of the premade effects? I guess having an example would already solve my problem.
Thanks!