XML Feeds

.

[maxmsp] Re: 360° loop numbox

karl-otto von oertzen karrrlo at yahoo.com
Thu Nov 29 14:31:10 MST 2007


would [modulo 360] be of any help ?

#P window setfont "Sans Serif" 9.;
#P flonum 335 99 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 335 55 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 334 76 43 196617 % 360.;
#P connect 0 0 2 0;
#P connect 1 0 0 0;
#P window clipboard copycount 3;



Quote: Kyred wrote on Thu, 29 November 2007 21:05
----------------------------------------------------
> Hi,
> 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 ?
> 
> 
> max v2;
> #N vpatcher 211 86 811 486;
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P newex 147 43 48 196617 loadbang;
> #P message 147 65 88 196617 min 0. \, max 360.;
> #P flonum 124 112 35 9 0. 360. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P newex 176 147 50 196617 sel 360.;
> #P message 176 186 33 196617 set 0;
> #P connect 3 0 2 0;
> #P fasten 0 0 2 0 57 166 98 93 136 93 136 98;
> #P connect 4 0 3 0;
> #P connect 2 0 1 0;
> #P connect 1 0 0 0;
> #P pop;
> 
----------------------------------------------------


--
karrrlo



More information about the maxmsp mailing list