-
... ct(world, loc, vel, acc, speeds[i]*100, 50); }.dup(n); //world,loc,vel,acc,mass,size lines= {|i| Red3DLine(RedVector3D[0, i+1/n-0.5, 0], 1.75)}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; world.objects.do{|o, i| thetas[i]= thetas ...
-
... he touchpad. xys is an array with three elements: [x position, y position, blob size] MultiTouchPad .start; MultiTouchPad .resetActions; MultiTouchPad .touchAction = { |curID, xys| curID.postln; xys.postln; }; MultiTouchPad .stop; //don't f ...
-
... ynth { classvar <>all; var <>ugenFuncs, <>helpSynthDefs, <>playingHelpSynths, <>size, <>bus, <>server, <>helpSynthString, <>controlNames, <>trigSynths, <>trigSynthDef, <>trigString, <>initstring, <>inputErrString, <>postOSC, <>trigMsgIDCoun ...
-
... - why? x = 0; j = JITView(123); // now type "x = x + 1" // -> 2 // 2. Window resize by code loops when userview with drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bounds_(Rect(100, 100, 150, 24)); // crash m.paren ...
-
... readStream readProcessedStream fromImage Output write writeStream Properties wtSize numMaps path ratio fudgeFactor tables filter Other methods blendAt gui decimate Inherited instance methods Examples Classes (extension) | Collections > Ord ...
-
... 1LEDs -> #[18,26], \pad1 ->36 ]; settings.do{|a| if(a != nil && a.size==2, {this.defMap.put(a[0],a[1])} ) }; this.initMIDI; } *initMIDI{ var baseFound=false; if(MIDIClient.initialized==false,{M ...
-
... acceleration RedObject(world, loc, vel, acc, 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); {RedRock(world, RedVector2D[width.rand, height].rand)}.dup(rocks); //--loop w.draw{ Pen.width= 1; world.objects.do{|o, i| //iterate all objects i ...
-
... ]; RedAgent(world, loc).state_(0.25.coin.binaryValue); //world,loc,vel,acc,mass,size }.dup(n); }.dup(n); //--loop w.draw{ var counts= world.objects.collect{|o| world.neighbours(o).sum{|oo| oo.state} }; world.objects.do{|o, i| if(o.state==1, ...
-
... buttons = (); window = SCWindow("SynthTrackerWindow", Rect(10, 250, 150, (names.size * 20) + 7) ); names.do({ |name, i| buttons.put(name, SCButton(window, Rect(7, 1 + (i*20), 16, 16)).states_([ [""], ["X", Color.black, Color.red.alpha_(0.5) ...
-
... acceleration RedObject(world, loc, vel, acc, 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); {RedRock(world, RedVector2D[width.rand, height].rand)}.dup(rocks); //--loop w.draw{ Pen.width= 1; world.objects.do{|o, i| //iterate all objects i ...