-
/* webMouse sends x, y relative data from webpage to NTMI. Currently only works with touch on smartphones, here: "https://s4ntp.org/ntmi/play#username".openOS; // The webmouse message is: 0: message name \mouse 1: random influx chan 1, stay ...
-
//one object pushes away the other in a world without bounds //with mouse controlling repulsive object location ( var width= 300, height= 300, w, wgrav, world, rep, obj; //--world w= RedWindow("repulsive test1", Rect(128, 64, width, height) ...
-
//one object pushes away the other in a world without bounds //with mouse controlling repulsive object location ( var width= 300, height= 300, w, wgrav, world, rep, obj; //--world w= RedWindow("repulsive test1", Rect(128, 64, width, height) ...
-
An environment in which the user can draw using the mouse. //LET'S PAINT! //select all and compile var point, red, green, blue, win, view, colorTask; var redChange, greenChange, blueChange; //rate of change of each color component ...
-
... ction - a Function. this is evaluated each time that a new item is selected via mouse \ (random access) or by pressing arrow up or down on the keyboard. \ dblClickAction - a Function. This is evaluated each time the enter key is pressed or ...
-
... Float) shift_scale A value for increment 's or decrement 's zoom argument while mouse scrolling or arrow keys, and while the shift key is pressed. shift_scale defaults to 100. aFloat - An instance of Float . ctrl_scale_(aFloat) ctrl_scale A ...
-
//multiple objects are pushed away by a single //with mouse controlling repulsive object location ( var width= 300, height= 300, w, wgrav, world, n= 10, rep; //--world w= RedWindow("repulsive test2", Rect(128, 64, width, height)).front; wgr ...
-
//multiple objects are pushed away by a single //with mouse controlling repulsive object location ( var width= 300, height= 300, w, wgrav, world, n= 10, rep; //--world w= RedWindow("repulsive test2", Rect(128, 64, width, height)).front; wgr ...
-
// modulate everything ( { Bend ({ |in| in * LFDNoise3 .kr( MouseX .kr(0.1, 200, 1), 0.1, 1) }, { Splay .ar( SinOsc .ar({ exprand(300.0, 10000.0) } ! 17, 0, { 1.0.rand } ! 17)) }) * 0.1 }.play ) // basic test { Bend .time( MouseX .kr(-2, 2) ...
-
// modulate everything ( { Bend ({ |in| in * LFDNoise3 .kr( MouseX .kr(0.1, 200, 1), 0.1, 1) }, { Splay .ar( SinOsc .ar({ exprand(300.0, 10000.0) } ! 17, 0, { 1.0.rand } ! 17)) }) * 0.1 }.play ) // basic test { Bend .time( MouseX .kr(-2, 2) ...