-
... xIndex; this.refresh; }; }; }; } draw { var caseSize = Point( super.interactionRect.width / thisValues.size, super.interactionRect.height ); var symbolSize = min( caseSize.x * thisSymbolRatio, caseSize.y / 2 * thisSymbolRatio ); var newSym ...
-
+ Rect { radiusH {^width/2} radiusH_ { |dx| ^this.class.aboutPoint(this.center, dx, height/2)} radiusV {^height/2} radiusV_ { |dy| ^this.class.aboutPoint(this.center, width/2, dy)} centerTop {^Point.new(left + (width/2), top) } centerTop_ { ...
-
... ain window win = Window.new("Granular Sampling - Sequential, Multiple Files", Rect(50, 50, 600, 560), false).front; win.background = Color.grey(0.1, 0.9); win.onClose = { player.stop }; // Sub view to group all sliders subwin ...
-
... ut, Pan2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("agents test ca2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; //world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp world= R ...
-
... 5-50'); width= width.min(board.bufferSize); win= Window("gui example userview", Rect(10, 100, width, height)).front; img= Image.color(width, height, Color.black).interpolation_(\fast); win.drawFunc= { var chanHeight= height/board.numChannel ...
-
... ut, Pan2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("agents test ca2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; //world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp world= R ...
-
... if (~max == nil) { ~max = 0.001; "max".postln; }; window = Window.new(bounds:Rect(0,0,800,600),server:s); window.front; CmdPeriod.doOnce({window.close}); view = UserView(window, window.bounds); view.background = Color.white; view.re ...
-
... ) .setSpec( \center, PointSpec( 200, 0.1@0.1 ) ) .setSpec( \radius, PointSpec( Rect(0,0,200,200), 0.1@0.1 ) ) .setSpec( \angleStep, [0,360].asSpec ) .setSpec( \step, [0,1].asSpec );
-
... see <http://www.gnu.org/licenses/>. */ /* View that shows events of a score as rectangles with rounded corners. */ UScoreView { classvar <spaceBarPlayAnyway = false; classvar <>showGrid = true; classvar <>showUChainNames = true; classvar < ...
-
... MFdef(\mainWinUpdate).enable(\imuPad); ( ~mfgui = { |mf| var w = Window(mf.cs, Rect(100, 100, 300, 200)).front; var modebuts, funcbuts; var updateFuncbuts = { funcbuts.do { |but, i| but.value = mf.activeNames.postln.includes(but.states[0][ ...