I am trying to replace the third cell in a 3 cell matrix with another cell, but seem to be getting weird behavior. could someone explain what's going on inside the jit.gen patch here? Do I have to send the gen sample object an xy pair?
I'm still having trouble with this. I'm getting values up to a certain point between cells and then a jump past the exact value of the cell. What's the best way scrub all the way through, including the actual cell values? I'm working on updating this piece to have the beginning and end of a gl.mesh sort of unfold rather than step. https://vimeo.com/145430840
there is interpolation when using the sampe operator, interpolation between adjacent cells, the "nearest" operator should prevent this interpolation, but it doesn't seme to solve the problem when it ried to replace sample by nearest in your patch... will try again later !
I was about to mention the difference between pixel and texel coords but I see what you're doing. Interpolating a single cell value in Gen pretty slick. Usually it's all or nothing. Do you know if it's possible to do the same with cells other than boundary cells? I don't think it's possible in one pass. Either way, thanks for the patch.
It's tricky to target single cells because of the lack of arrays in Gen. I can target a single pixel and display it with a click (ex. color picker) but I can't target another unique cell with that value prior to output without influencing more cells. I think the reason your approach works is because you are using 1 as your second lerp value versus interpolating two unique cells. Not sure.