-
... ope allocated and stops the FFT analysis synth. So: ( w = Window("My Analyzer", Rect(0, 0, 511, 300)); f = FreqScopeView(w, w.view.bounds); w.onClose_({ f.kill }); // YOU MUST HAVE THIS w.front; ) ⧉ ✔ Class Methods FreqScopeView. new ( pare ...
-
... , 200]) w.background= Color.red w.draw{Pen.fillColor= Color.black; Pen.fillOval(Rect.aboutPoint(Point(175.rand, 175.rand), 50, 50))} w.play //start drawing w.stop ( //mouse control w.draw{ var radius= 100.rand; Pen.fillColor= Color.blue(0.5 ...
-
... ke a little keyboard to try the different modes: ( ~win = Window("PianoLayout", Rect(0, 200, 400, 200)).front; // switch between modes: ~pop = EZPopUpMenu(~win, Rect(4, 4, 192, 24), "mode", MPadView.modeKeys, { |pop| pop.item.postln; ~keys. ...
-
... 2pi/p*(width/n)+spook; }.dup(nWaves); //--world w= RedWindow("wave phase test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.4]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.8); //dim,grav,maxvel,damp //--objects ...
-
... w; w.front; c = Array.fill(10,{ arg i; var n; n = NumberEditor(0,\amp); n.gui(w,Rect(10,25 * i, 150,13)); n }); ) ⧉ ✔ using a PageLayout on a window ( w = GUI.window.new; w.front; p = PageLayout.on(w); c = Array.fill(10,{ arg i; var n; n = ...
-
... ds Inherited instance methods Undocumented instance methods . bounds . bounds = rect . doDrawFunc . drawingEnabled = bool . findWindow . initTopView ( win ) . window = value Help template Copy and paste the text below and save to HelpSource ...
-
... onitor= false; a.close; //embedd the gui into another window ( w= Window("hgf", Rect(100, 200, 500, 500)); w.front; v= View(w, Rect(100, 100, 200, 200)).background_(Color.blue); c= TempoClock(1.4); a= RedTapTempoGUI(c, parent:v); ) c.tempo= ...
-
... ist with 1000 centroid indices. one for each vector ( w= Window("k-means plot", Rect(100, 100, 640, 480), false); w.view.background= Color.black; w.drawFunc= { var colors= {|i| Color.hsv(i/a.k, 1, 1)}.dup(a.k); b.do{|vec, i| Pen.fillColor= ...
-
... 2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("springs interconnected", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld2(RedVector2D[width, height], wgrav, 99, 0); //dim,grav,maxvel, ...
-
... owView; o = SSObject(w,name:\O); // don't do nothing since it's static ⧉ ✔ --> \rect Rectilinear motion. It takes as argument an Array with the initial velocity in each axis. Physical model actions can still interact with the object. With r ...