Modelling physical behaviour of a knob in Max

Nov 23, 2012 at 11:41pm

Modelling physical behaviour of a knob in Max

Hey Guys,

I’m working on a user interface with a knob on an xy pad.
My goal is for example to have the Knob on the Nodes object follow the mousemovement user in a physical way.
So that it’s not directly under the mouse but follows it.

I got some results using line~ and curve~ but wondered if you have some more complex examples by hand.

Thanks,
Imbie

#65341
Nov 23, 2012 at 11:55pm

 
everything what can be programmed can also be described (more concrete than “in a physical way”). so describe it.

besides line~, slide~, lowpassfilters and tapout~ could be your friends for now.

-110

#235488
Nov 24, 2012 at 1:32am

thanks roman, ultimately I want to programm some behaviour like the multiball object on lemur.
so if you move the knob and release it it will continuing on moving depending on the speed you moved it, if it hits the border of the object it will bounce back from it and so on.

I’m sure this can be done in max, but I think it’s a very complex task.

#235489
Nov 24, 2012 at 12:30pm

http://docs.monome.org/doku.php?id=app:corners

http://cycling74.com/toolbox/xy-markov-player/

you would be using friction and gravity which are pretty well presented in the application corners if you feel like doing some patch digging

the xy markov player will simply play back what you have presented in varying probabilities/speeds

for more gravity/friction examples search this forum.

#235490
Nov 24, 2012 at 4:34pm

thanks, that helped a lot!

#235491
Nov 24, 2012 at 4:47pm

then also look into the pmpd objects.

it will save you some work compared to creating your own code since it i already 2d.

-110

#235492

You must be logged in to reply to this topic.