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?
Save this Matrix to a Sequence
-
- Posts: 6
- Joined: Tue Oct 22, 2019 12:01 am
- Real Name: Jeff Nielson
OK I figured out that it is set in the js code. I just updated the function.
- GGGss
- Posts: 3052
- Joined: Mon Sep 12, 2016 7:15 pm
- Location: Belgium
- Real Name: Fredje Gallon
For future reference, please elaborate on your solution. Could you please tell me what you had to change to the .js code?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.
All electric machines work on smoke... when the smoke escapes... they don't work anymore
-
- Posts: 6
- Joined: Tue Oct 22, 2019 12:01 am
- Real Name: Jeff Nielson
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
Code: Select all
algo.rgbMapStepCount
I just changed mine to say:
Code: Select all
return 200;
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