-
... , wgrav, world, n= 50, sys, spook= 0; //--world w= RedWindow("wavesystem test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.2); //dim,grav,maxvel,damp //--system ...
-
... , wgrav, world, n= 50, sys, spook= 0; //--world w= RedWindow("wavesystem test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.2); //dim,grav,maxvel,damp //--system ...
-
... * 0.1, 1, 0.01); }).play; try{~win.close}; ~win = Window('noise mixer', Rect(400,400,600,300)); ~win.front.alwaysOnTop_(true); ~reset = { b.value_(0.31); a.do{ |sl| sl.value_(0.5)}; Ndef(\x).resetNodeMap; }; a = {Slider( ...
-
... y= height/n, lookup; //--world w= RedWindow("discrete world - 2d ca optimised", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector[n, n]); //dim,grav,maxvel,damp //--objects {|x| {|y| var loc= RedVector[x, y]; RedAgent(world, l ...
-
... y= height/n, lookup; //--world w= RedWindow("discrete world - 2d ca optimised", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector[n, n]); //dim,grav,maxvel,damp //--objects {|x| {|y| var loc= RedVector[x, y]; RedAgent(world, l ...
-
... var spec; this.createLabel("Server").align_(\left); muteButton = Button(window, Rect(width: 80, height: 20) ); muteButton.states = [["Mute", Color.white, Color.grey], ["Unmute", Color.white, Color(0.9, 0.5, 0.3)]]; muteButton.canFocus = fal ...
-
... ms,showArrow); } init{|parent, bounds, nm, argItems, showArrow| bounds=bounds.asRect; items=[]; name=nm; this.prAddSpacer; arrowColor = Color.grey(0.5); this.makeButton(parent, bounds, name, showArrow); // the action performed by the list t ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. Accessing Instance and Class Variables mouseDown (x, y, pressure, tiltx, tilty, deviceID, buttonNumber, clickCount, a ...
-
... tons, data, synths, dims = [16,16], resolution = 4; w = Window("rand-n-step", Rect(50,250,dims[0]*22 + 10,dims[1]*22+10)); synths = Array.fill(dims[1], { |i| SynthDef('rstp'++i, { var sig = Pan2.ar( PMOsc.ar(80.exprand(10000) ...
-
... peat 2pi/p*(width/n); }.dup(nWaves); //--world w= RedWindow("wave phase test2", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0.004]; world= RedWorld(RedVector2D[width, height], wgrav, 5, 0.8); //dim, ...