-
... height= 480, w, wgrav, world, n= 12; //--world w= RedWindow("attractor test4", Rect(128, 64, width, height)).front; w.clearOnRefresh= false; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 5, 1); //dim,grav, ...
-
... yC.ar(Ndef(\pul).ar) * 0.9) }).play; // GUI: 2D slider w = Window("Pulse", Rect(100,Window.screenBounds.height - 400, 300, 300)); w.view.decorator = FlowLayout(w.view.bounds); t = Slider2D(w, Rect(0, 0,292, 292)) .y_(1.0) .x_(0.0 ...
-
... t= 100, w, wgrav, world, n= 1, ploc; //--world w= RedWindow("pendulum test 1d", Rect(128, 64, width, height)).front; wgrav= RedVector[0.5]; world= RedWorld(RedVector[width], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= Re ...
-
... , 0.0, 1.0, inf ); c = a.asStream.nextN(500); w = GUI .window.new( "Pfnoise1" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); ) ( var a; a = Plfnoise1 (20, 0.0, 1.0, inf ); ...
-
... 0.0, 1.0, inf ); c = a.asStream.nextN(500); w = GUI .window.new( "Plfnoise2" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); ) ( var a; a = Plfnoise2 (20, 0.0, 1.0, inf ); ...
-
... t= 100, w, wgrav, world, n= 1, ploc; //--world w= RedWindow("pendulum test 1d", Rect(128, 64, width, height)).front; wgrav= RedVector[0.5]; world= RedWorld(RedVector[width], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= Re ...
-
... ysize = 30; counter = counter + 1; w = w ?? { w = GUI.window.new("Sensor Data", Rect(xposScreen, yposScreen, xsize + 20, 700)).front; w.view.decorator = FlowLayout(Rect(10, 10, w.bounds.width, w.bounds.height), 2@2, 2@2); }; labelColor = Co ...
-
... eBounds A utility method used by UGen: -scope to tile scope windows. Returns: A Rect. Inherited class methods Instance Methods Data . server The server on which the scope operates. . rate . rate = argRate: 'audio' Whether to operate on audi ...
-
... r will be used instead. Class Methods HiliteGradient. new ( color1 , color2 , direction: 'v' , steps: 64 , frac: 0.33 ) Arguments: color1 An instance of Color. color2 An instance of Color. direction \h or \v for horizontal and vertical resp ...
-
... unds , parent ) Arguments: server The server to display its node tree. bounds A Rect , or any object responding to the .asRect method. parent The View or Window where a ServerTreeView placed. Inherited class methods Instance Methods . close ...