So I'm revising all of my mapping stuff for my monome Arc controllers, and I primarily use lists to set the values. It can take a list of 64 numbers (between 0-15).
The general idea is to have the very end of the list not be binary, but rather fade in/out, to allow for finer visual feedback of parameters.
I've managed to figure this out when using a block of rolling numbers (see first example), but when using a static image that 'wipes', it glitches when going up.
I'm using zl nth's replace function to tell what the index of the highest value is and then replace that, but no matter what I try, it always bangs out an extra 0 in there when I get to the next 'tick'. I've tried zl reg-ing the list going to zl nth, and all sorts of order of operations stuff, and still no joy.
This is not apparent on a monitor, but on the controller it produces a visible hiccup. You can see it if you print the output.
So question #1. How can I get rid of that hiccup?
Question #2. Is there a better way to do this than using zl rot/zl slice, or listfunnel etc... There's been some talk of bringing jitter into the mix on the monome forum, but I wouldn't know where to begin.
Lastly, I haven't been able to figure out how to interpolate two sides of a rotating image (the 3rd example). Basically having an arbitrary length 'block' of stuff, that the ends of do the interpolation.
My plan was to figure out problem two, then do an inversion of it to figure out problem three.