Page 1 of 1
Save this Matrix to a Sequence
Posted: Sun Dec 24, 2023 3:43 am
by jeffnielson
Using 4.12.7
When I click "Save this Matrix to a Sequence" when playing with RGB matrix, the sequence only has 1 or 2 steps when I think it should have many more than that. THen it just loops over the first 2 steps.
Any ideas?
Re: Save this Matrix to a Sequence
Posted: Tue Dec 26, 2023 4:56 pm
by jeffnielson
OK I figured out that it is set in the js code. I just updated the function.
Re: Save this Matrix to a Sequence
Posted: Wed Dec 27, 2023 8:42 am
by GGGss
jeffnielson wrote: ↑Tue Dec 26, 2023 4:56 pm
OK I figured out that it is set in the js code. I just updated the function.
For future reference, please elaborate on your solution. Could you please tell me what you had to change to the .js code?
Re: Save this Matrix to a Sequence
Posted: Thu Dec 28, 2023 3:33 pm
by jeffnielson
The javascript in the RGBScripts has a function that you have to edit:
The return value is can be a number of mathematical equation.
I just changed mine to say:
This way, it returns 200 steps rather than just the few that the author thought was enough.
I could have made it into a value that could be set each time by using "algo.proprieties.push", but didn't want to do the extra work.
Jeff