color control

191 views
Skip to first unread message

Jack

unread,
May 6, 2021, 2:09:58 AM5/6/21
to Lightjams
In my projects I use many led's. It happens that all the led's have the same color and I would like to add a color effect to some of them. At the same time I want the effect to brighten up which I normally do with the intensity.

The way I do it now is that I place a source on the intensity grid. I assign the x-value to a slider. And I assign the y-value to a slider. Slider 1 and slider 2.

In the color grid where I also have placed a source, I also assign the x-value to slider(1) and the y-value to slider(2). Both sliders control the position of two source now. One on the intensity grid and one on the color grid. 

The sliders are now in-sync with each other which enabled me to make the desired effect. 

But I feel that this way of achieving the effect I would like to have is compute intensive. What if I would like 15 sources. It would cost 30 sliders.. and how do you keep them organised? 

so, that is basically the thing that bothers me. 

I must admit that I haven't tried the priority in grids much. Can that solve my case too?

Jack

unread,
May 6, 2021, 4:01:02 PM5/6/21
to Lightjams

Mathieu

unread,
May 8, 2021, 7:46:23 AM5/8/21
to Lightjams
Hi Jack,

>> all the led's have the same color and I would like to add a color effect to some of them

This sounds like you might want to try the relative option. Basically, you can create a grid with the hue attributes you want to change and enable the relative mode (select the hue attributes on the grid and check the relative box). This way, you can offset the hue of any running effect. 

Mathieu

unread,
May 8, 2021, 7:48:21 AM5/8/21
to Lightjams
In addition to the relative mode, if all you want to do is to override the color of some leds, then you can create a grid with the hue attributes you want to override. Then set a higher precedence to this grid (in the grid manager). 

Jack

unread,
May 8, 2021, 8:04:45 AM5/8/21
to Lightjams
These sound like great things to experiment. I had no idea what these options were for. Thanks, I'll try them to see if it does what I would like to see. Lightjams is exploration.. :)

Jack

unread,
May 10, 2021, 2:23:50 AM5/10/21
to Lightjams
Meanwhile, I'm truly Jamming with Lightjams. Trying things while simply playing music from some playlist, pop certified.

(My phone, a Galaxy S7, can't really handle the intensity of the lights. And my chair is making noise when I move it. :) )

Working on new tubes. One of the current tubes got bent while I was trying how warm they would get. At 80% full on the temperature rose to 70 degrees celsius.
Some led's started to blink, I didn't dare to increase the light further.  The wiring will be better. 

Jack

unread,
May 10, 2021, 3:22:57 AM5/10/21
to Lightjams
I tried to post the project  file, 3289 kb, but got an error message. probably too big. 

Mathieu

unread,
May 10, 2021, 6:19:51 AM5/10/21
to Lightjams
Hi Jack,

You can try to zip the project file before posting it.

Jack de Visser

unread,
May 10, 2021, 6:31:32 AM5/10/21
to ligh...@googlegroups.com
Oh yes. I forgot to try that. There's no real reason for posting it, but if anyone is interested in my embarassing showfile I thought.. why not. I'll try to zip it. Thanks Mathieu.

Op ma 10 mei 2021 12:19 schreef Mathieu <mat...@lightjams.com:
--
You received this message because you are subscribed to a topic in the Google Groups "Lightjams" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lightjams/ZQn2J21_nFE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lightjams+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lightjams/6cc99806-8208-4f03-9b58-2ea94b75637en%40googlegroups.com.

Jack

unread,
May 10, 2021, 6:53:21 AM5/10/21
to Lightjams
wow. From many kb's to only 102k. The power of ZIP. 
jamming.zip

Jack

unread,
Jul 14, 2021, 3:42:13 PM7/14/21
to Lightjams
What I would like is: to be able to assign a color to an intensity source. If that intensity source emits on some intensity attributes, the color property of those attributes use the associated intensity source color.

For example: An entire tube is blue. There is a source on the color grid that sets every color property of the attribute to blue. That isn't enough for them to light up blue. You need some shine from the intensity grid. So, there I put another source that shines all intensity attributes a little. The whole tube emits a blue-ish color. I used two sources for it, one for the color, one for some intensity.  I want to use the blue tube as a background color.

Now I want to make a colorful effect. 

On every cleaned beat :) of some music track I want a few led's to light up red. The effect is typically achieved with intensity. (I've tried making effects with colors, but usually they are dull.)
I would like to be able to associate red to the intensity source.. and then, by magic, if the beat hits and the source emits it's: red. The blue leds are turned off where the source strikes and the emission appears as red. 
If there are more intensity sources have a color association and they hit the same attributes, then the one with the highest intensity wins. 

I've looked at the relative mode and inversion. But basically that are static settings for the selected color attributes. 
Another grid with a higher precedence cannot achieve what I would like. 

But I don't know if it is achievable of course. 

The blue tube with red effect on music beats is what I tried to achieve. 

Mathieu

unread,
Jul 14, 2021, 9:28:49 PM7/14/21
to Lightjams
Hi,

Here's a sample project with a blue background and leds randomly turning red on music beats.

blue background with red on music beat.zip

Mathieu

unread,
Jul 14, 2021, 9:33:31 PM7/14/21
to Lightjams
Some info about the sample project. The background group set the blue hue and the 50% intensity. Then the red/hue grid has a higher precedence and gets activated on music beats. The sources inside randomly move each time the grid is activated (could be on each beat also). So that means on each beat, some leds turn red and then fade out, doing a hue fade between red and blue.

Jack

unread,
Jul 15, 2021, 2:31:15 AM7/15/21
to Lightjams
That kind of works. When the activation is not 100% the color kind of mingle. Red turns to pink because of the blue..  
That doesn't happen when the activation alternates between 0% and 100%. 

Nevertheless, maybe I should explore the grid precedency better I think. Thanks for the example because that helps me.

i've quickly tried these (in zip):
example1 is where the activation alternates between 0 and 100%.
example2 uses music beat for activation, so activation between 0 and 100% typically.
example3 has all sources on the red grid with a power of 0%, range also 0% and no delay.

math example.zip

Jack

unread,
Jul 15, 2021, 2:33:44 AM7/15/21
to Lightjams
tested it with: Womanizer by Britney Spears.

Jack

unread,
Jul 15, 2021, 2:51:06 AM7/15/21
to Lightjams
I think I don't understand the hue fade. There are two hue grids, activation depends on the activation attribute I think?
The blue one is always active in this example and the red one is regulated?

Mathieu

unread,
Jul 15, 2021, 8:51:21 PM7/15/21
to Lightjams
Hi,

Since the red grid has a higher precedence, when its activation is at 100%, it completely overrides the blue grid and the result is red. When its activation is between 100 and 0, you see a mix of red and blue, until at 0%, the result is blue. So in this case, the red grid is like the foreground and the blue grid is the background that is revealed as the red grid activation goes down.

If the red grid precedence would be equal to the blue grid, then if both grids are at 100%, you'd get pink, which is 50% red + 50% blue.

Jack

unread,
Jul 18, 2021, 4:31:51 PM7/18/21
to Lightjams
I like the pure colors. So, I try to avoid mixing the colors. 

This piano music (Rossini-Liszt: Soirées Musicales No.2 - La Regatta Veneziana):  https://www.youtube.com/watch?v=WPX4rA8RQyo


with the enclosed project file. I find it very hard to make sensible effects using preferences on color grids. 



4 tubes - jam11.zip

Jack

unread,
Aug 5, 2021, 2:06:10 AM8/5/21
to Lightjams
Think I mentioned this one. https://drive.google.com/file/d/1OWtBqVNMyIKuVuVtwJf5k8xXRu3LX6z0/view?usp=sharing 
hadn't shared it yet.

Reply all
Reply to author
Forward
0 new messages