ColorControl - an interactive GUI for creating dynamic color effects on your leds #29
Replies: 3 comments 1 reply
-
Here is some kind of instructions for the ColorControl. The big colored thing in the middle is the 3D color sphere. It is a spherical representation of the color body of all available colors on your leds. (Quite different from the two scales version in the app, right? There you essentially only see one color at a time, and need to adjust its hue and lightness separately until you find the wanted one. Here you have all the colors right in front of you.) You can rotate the sphere by dragging its surface, or using the arrow keys. It has white at the "north pole", black at the "south pole", and the full color circle around the equator. The idea is that you first select a color scheme for your pattern. When you hover over the sphere the corresponding color will show on your leds. Click on the colors you want to use, and they will pile up in the color patches to the left. If you got the wrong color you can select a patch and change its color. You can delete a patch by selecting it and pressing the "delete" key over it. Delete all patches and start over by pressing the cross above the patches. For some effects, the order of the colors matter. You can rearrange the order of patches by dragging them. Then you select an effect to the right. Again, the resulting effect with the created color scheme will be displayed on the leds, so you can see what it will look like. Change another effect, or modify the colors (and reselect the effect) if you are not satisfied. (The code for ColorControl is modular in the sense that it is easy to configure in the python code which effects that are available. In this version I just picked some natural and nice ones, but it may be extended, from within `xled_colorcontrol.py'.) A few words about the current effects: When you are happy with the effect you press Apply to upload it as a movie to the leds. And that's it. To quit press "q". |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
There is now a new release of xled_plus (r0.1.37) with an upgraded version of ColorControl. There are several additions:
Please tell me what you think, and also if there are any bugs or inconvenient behaviors found. / Anders |
Beta Was this translation helpful? Give feedback.
-
I have released a new version of xled_plus, where the main addition is
xled_colorcontrol.py
, which when started aspops up a window from which you can select a color scheme and corresponding effect type, and then upload it to your leds.
It greatly simplifies creating new effects, since you don't have to edit a python file by hand, trying to figure out suitable HSL or RGB color codes. This way you can create your own daily effects, by just picking the colors you feel like today, and then select whether you want a blinking or glowing or alternating pattern etc.
A prerequisite is that you install the latest (as of 2024-11-26) version of 'colorsphere':
And of course the current version (as of 2024-11-27) of xled_plus:
This is a first version of the ColorControl. There are several things that can be added or enhanced. For example, right now it picks the first Twinkly device it finds (and hangs if you have no device online). It should of course let you select the device. You can not configure the effects, other than which colors to use. Also, you can not save the effects you create to a file, for later reuse. This must of course be fixed to make it more useful. Nevertheless, please try it out and tell me what you think, and if you have any further ideas for enhancements.
It is in no way meant to replace the entire Twinkly app, although it is meant to replace the part of the app where you select an effect type and then configure its colors through an awkward two-scales color picker. With the ColorControl you get the best effect types from the xled_plus package, and can use the hopefully more intuitive 3D color picker ('colorsphere') I wrote some years ago, to select your color scheme.
Hopefully it is fairly self explanatory. You can press the question mark in the corner of the ColorControl window for some directions. I will give some further hints in the next post.
Beta Was this translation helpful? Give feedback.
All reactions