Page 1 of 1

'Surface Matrix' patch idea

Posted: 29 Nov 2019, 23:08
by x.iso
I want to make a patch which modifies values in the matrix by following of click/touch point over matrix, with 'area' parameter. So it's not for drawing parameters in, but temporary modulation of the existing matrix over the area of touch point.
Any ideas how to better approach this?

Re: 'Surface Matrix' patch idea

Posted: 30 Nov 2019, 11:28
by nay-seven
A transparent XY panel over the matrix, XY position will define index of a array set value..
some math/conversion to do

Re: 'Surface Matrix' patch idea

Posted: 30 Nov 2019, 20:29
by x.iso
well that I figured, but for area effect I wonder if Video Blur module can be used? seems plausible, if I can output XYpad bitmap out while making it invisible in UI, then I could apply Blur and then resize video to matrix size and convert to color array. but last time I tried using bitmap out from object that wasn't visible in UI it didn't work, like it has to be present somewhere in the workspace.

Re: 'Surface Matrix' patch idea

Posted: 01 Dec 2019, 09:53
by nay-seven
What about using the blur softness parameter of each shape ? you can also use its zoom scale

Re: 'Surface Matrix' patch idea

Posted: 02 Dec 2019, 21:52
by oli_lab
Hi !
I have an idea of how to do it but I need more knowledge about matrix calculus !
I already did few matrix operation modules (for the purpose of learning IA) but we lack few tools for matrix manipulation.

one option would be to hack an existing matrix module (with the sdk) and to add few more inputs : x in, y in, modulation matrix in

in the other hand, I'm sure I did some experiment with moving picture inside a matrix, I think I did some video conversion...ought to find the patch out of the billions on my computer....

Re: 'Surface Matrix' patch idea

Posted: 03 Dec 2019, 10:37
by x.iso
Yes, as I've said the most suitable option seems to be conversioin to video and then to matrix array. But currently in HH4 there are restrictions on minimum size of things that make this trick unusable on matrixes smaller than 10x10px. We'll see if Senso can change limit to at least 3x3. Otherwise my prototype almost works already.

Re: 'Surface Matrix' patch idea

Posted: 03 Dec 2019, 11:52
by oli_lab
The answer is 3D point ;-)
matrix navigation POC.wkp
(172.73 KiB) Downloaded 322 times

Re: 'Surface Matrix' patch idea

Posted: 03 Dec 2019, 14:53
by nay-seven
Well done @oli_lab !