These are chat archives for brunchboy/afterglow

7th
Jun 2018
i'm sure its my fault, i just could not find my mistake yet :)
the show is in src/afterglow_pg/testshow.clj, and you'll have to adjust the dependencies in the project.clj as i've set afterglow to 0.2.5-SNAPSHOT (local build of the fix i pr'd)
Joen Tolgraven
@tolgraven
Jun 07 2018 22:41 UTC
I mean you only have two fixtures, those bound the show space, and 0deg == 360deg right?
NHG‮
@NHGmaniac
Jun 07 2018 22:42 UTC
nvm, i just found my mistake, and that was exactly it! thanks, i should try rubber duck debugging more often...
Joen Tolgraven
@tolgraven
Jun 07 2018 22:45 UTC
Hehe. Or with something like this, nvm what fixtures you've actually got up, just patch more random shit then watch the raw output for clues
NHG‮
@NHGmaniac
Jun 07 2018 22:49 UTC
i think i tried that before and it did not work, but i must've done some other small mistake back then :) so, next question: i tried making a simple effect that spreads a 'dimmer wave' over the the whole grid, line 170 in my showfile, inspired by the can-can chase in examples.clj, but i can't get that to work (all dimmers stay at 0)
Joen Tolgraven
@tolgraven
Jun 07 2018 22:52 UTC
heads (generally) ain't got no dimmers
NHG‮
@NHGmaniac
Jun 07 2018 22:55 UTC
i'm trying to just use the position of the head (which is the position of my fixture, as its just two led par64's) as a spatial parameter for it's dimmer, i'm not trying to apply a dimmer to the head
NHG‮
@NHGmaniac
Jun 07 2018 23:01 UTC
anyways, thanks for the help so far, i'll have to pack stuff and go to bed now. i hope i'll be able to play around with it more on the weekend.
Joen Tolgraven
@tolgraven
Jun 07 2018 23:02 UTC
So if you have some heads with independent dimmers you'd have to code it so the rest can find their parent dimmer for it to work. Compare sparkle and dimmer-sparkle and you'll grok what I mean
NHG‮
@NHGmaniac
Jun 07 2018 23:03 UTC
will look into that, thanks for the pointers!
Joen Tolgraven
@tolgraven
Jun 07 2018 23:05 UTC
No worries. Check that fn, especially the beginning of the let, with dimmer-fx/gather-dimmer-channels and dimmer-fx/gather-partial-dimmer-function-heads