Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sparkle effect with dimmer? #35

Closed
dandaka opened this issue Dec 17, 2015 · 6 comments
Closed

Sparkle effect with dimmer? #35

dandaka opened this issue Dec 17, 2015 · 6 comments

Comments

@dandaka
Copy link
Contributor

dandaka commented Dec 17, 2015

I want to use sparke with heads, that don't support colors, but they do support dimmer. Is it possible to use on such fixtures? I guess not.

What I understand from reading the docs is that sparke creates "random" flashes, while strobe creates "rhythmic" ones.

I think "sparkle" type of strobe could be a better alternative.

@brunchboy
Copy link
Member

You’re right, the existing sparkle only works with RGB channels. I wrote it that way because some of my moving heads have delayed dimmer channels that could not respond fast enough. But my sparkle function is really just an example. Copy it, rename the new function dimmer-sparkle, and change it to create dimmer assigners rather than color assigners, and it will do what you want. (If you don’t have time, I could do that a few hours from now.)

@brunchboy
Copy link
Member

Oh, and the strobe effect in Afterglow uses the native strobe capability of the fixture. Some fixtures support a variety of kinds of strobing, including random strobes, but most do not. Sparkle is purely an Afterglow thing.

@brunchboy
Copy link
Member

Ok, it would have been way too hard for you to rewrite the old sparkle to a dimmer sparkle, it involves so many different kinds of layers and interfaces in Afterglow. I think I am close, though, I just need to figure out why my dimmer assigners don’t seem to be having any effect…

@brunchboy
Copy link
Member

Taking a break for a late dinner was a good thing, because right after I came back I was able to find my silly mistake, and now the new dimmer-sparkle effect is working. But it only works with normal lights where the dimmer has its own entire channel or two. I suppose you might need it to work with some of your weird lights which share the dimmer with other functions on the same channel, so I will expand it to support that before I push a release. Since I don’t have any such lights myself, you will need to test that part yourself.

brunchboy added a commit that referenced this issue Dec 18, 2015
@brunchboy
Copy link
Member

All right, with the snapshot I just deployed, you can create sparkle effects for either RGB or non-RGB fixtures, and the new dimmer-sparkle should supposedly work with your fixtures that use only part of a channel for their dimmers. Please let me know! The documentation explains how to use and combine these variations.

@dandaka
Copy link
Contributor Author

dandaka commented Dec 22, 2015

Works great! Thank you!

@dandaka dandaka closed this as completed Dec 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants