XML Feeds

.

[maxmsp] 360° loop numbox

Chris Muir cbm at well.com
Thu Nov 29 14:30:01 MST 2007


At 1:05 PM -0700 11/29/07, Derrick Giscloux wrote:
>I'm searching for a way to loop numbox response to mouse click & drag. Here's a possibility but the numbox hedge in when it reach the max (360°).
>Any idea ?

This is sort of a hack, but it seems to work. Use the number from the modulo operator:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P hidden newex 419 141 40 196617 % 361;
#P number 378 140 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P noclick;
#P number 378 140 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden connect 0 0 2 0;
#P hidden connect 2 0 1 0;
#P window clipboard copycount 3;

-- 
Chris Muir           | "There are many futures and only one status quo.
cbm at well.com         |  This is why conservatives mostly agree,
http://www.xfade.com |  and radicals always argue." - Brian Eno



More information about the maxmsp mailing list