-
|
After reading the notes several times, I will definitely need some help lol. I know you said documentation will probably never be done for this for animations, but better documentation would lead to more people being able to use it I would think.. Your call though :) I am mainly just looking for a way to get the same colors as energizing for tiles in the LiFX app working for both |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You're correct and I agree. That's not the problem though
I'm considerably burnt out by LIFX stuff and also my mental health in general is currently ruined and not overly coping with a lot of things. So whilst I'm more than happy to answer questions and do small fixes I don't have the capacity for any large projects on this one anytime soon.
So when I rewrote the animations I very specifically made it so that you can tell Photons to run multiple animations and have them transition between them :) For example if you save this json file https://gist.github.com/delfick/286e7518d98f23a5a2503ff6f9a7f3a7 and run And you end up filling in this object https://github.com/delfick/photons/blob/main/modules/photons_canvas/animations/run_options.py#L112 So that json file says keeping going through the list of animations until we've had 6 animations (so if it only had 2 items in the list, it'd repeat those 2 three times) And then the animations in the json are:
You'll notice each item in that list is an array with a name (the name of the animation) and a dictionary of options. The options are defined by each animation so they all differ a bit. But there are a few common options that apply to everything - https://github.com/delfick/photons/blob/e5898f1/modules/photons_canvas/animations/infrastructure/animation.py#L26-L33
Beyond those options you can work out options each animation is by saying Where you replace color_cycle by the name of the animation to find all the available animations in the first place run I'm not at home today and getting out the tiles I have is a pain anyway, but a good starting point for you to start just throwing words at your computer would be something like |
Beta Was this translation helpful? Give feedback.
-
|
Thanks a ton for the help and links! I have the pattern set how I would like by using the json file you linked and then fiddled with it until I got it how I like it. I cant figure out what the exact colors are for the Thanks again for getting me this far! |
Beta Was this translation helpful? Give feedback.
You're correct and I agree. That's not the problem though
I'm considerably burnt out by LIFX stuff and also my mental health in general is currently ruined and not overly coping with a lot of things. So whilst I'm more than happy to answer questions and do small fixes I don't have the capacity for any large projects on this one anytime soon.
So when I rewrote the animations I very specifically made it so that you can tell Photons to run multiple animations and have them transition between them :)
For example if you save this json file https://gist.github.com/delfick/2…