Welcome to %s forums

BrainModular Users Forum

Login Register

'Surface Matrix' patch idea

I need help on a Patch
Post Reply
User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

'Surface Matrix' patch idea

Unread post by x.iso » 29 Nov 2019, 23:08

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?
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 30 Nov 2019, 11:28

A transparent XY panel over the matrix, XY position will define index of a array set value..
some math/conversion to do

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 30 Nov 2019, 20:29

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.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 01 Dec 2019, 09:53

What about using the blur softness parameter of each shape ? you can also use its zoom scale

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 02 Dec 2019, 21:52

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....
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 03 Dec 2019, 10:37

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.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 03 Dec 2019, 11:52

The answer is 3D point ;-)
matrix navigation POC.wkp
(172.73 KiB) Downloaded 322 times
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 03 Dec 2019, 14:53

Well done @oli_lab !

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests