-
... ome random data a = (0..9).scramble.blendAt((0.1, 0.2 .. 9)); h = a.heatMap(10, Rect (0, 0, 300, 200), xLabels: true , yLabels: true , colscheme: \bw ); h.highlight(9.rand, 10.rand) monitorBus(bus, rate, colour) uses the highlight feature t ...
-
... s = bounds ?? { parent.bounds.moveTo(0,0).insetBy(4,4) }; } { bounds = bounds ? Rect( Window.screenBounds.width - 445, Window.screenBounds.height - 845, 340, 240 ); }; view = EZCompositeView( parent ? "UGlobalControl", bounds, true ).resize ...
-
... s = bounds ?? { parent.bounds.moveTo(0,0).insetBy(4,4) }; } { bounds = bounds ? Rect( Window.screenBounds.width - 445, Window.screenBounds.height - 845, 340, 240 ); }; view = EZCompositeView( parent ? "UGlobalControl", bounds, true ).resize ...
-
... (factor)}.dup(board.numChannels); }; win= Window("fft gui example multislider", Rect(100, 100, 640, 640)).front; msliders= { MultiSliderView() .canFocus_(false) .isFilled_(true) .colors_(Color.black, Color.grey) .value_([0]) .elasticMode_(1 ...
-
... N EXAMPLE for making a derived MKtlElement, as in issue #72: // (math is not correct yet, bt works in principle) // // issue #72 - Adding custom filter elements to an existing (and instantiated) controller // m = MKtl.make(\meXYController, ...
-
... eset.shift(zone.bounds.width - 16, textheight * 2); scroller = EZScroller(zone, Rect(0, 0, 12, numItems * textheight), numItems, numItems, { |sc| keysRotation = sc.value.asInteger.max(0); } ).visible_(false); scroller.slider.resize_(3); thi ...
-
... dow.dataptr.notNil }) { window.front; ^this }; window = SCWindow("MultiServer", Rect(10, 10, 400, 3 + ( servers.size * 29))).front; window.view.decorator = FlowLayout(window.view.bounds); servers.do({ |server| server.makeView( window ); }); ...
-
... dLines = [ 10 , 4 ]; ( // grab and move points w.clearDrawFuncs; w.fromBounds = Rect(0,0,100,100); p = { Point .rand( 100.0.rand , 100.0.rand ) } ! 10 ; a = nil ; // selected point w.drawFunc = { Pen .color = Color .green( 0.5 ).alpha_( 0.7 ...
-
... |item| item.score == this }) !? { |gui| gui.window.bounds }; } windowBounds_ { |rect| UScoreEditorGUI.all.detect({ |item| item.score == this }) !? { |gui| case { rect.isKindOf( Rect ) } { gui.window.bounds = rect; } { rect.isKindOf( Point ) ...
-
... oidList.collect{|boid| boid.getPanVals; // get the pan values }; } // creates a rectangle of size [dim] bounds_ {|dim| var rect, xLen, yLen, zLen; if(dim.isArray) { if(dim.size==3) { xLen = dim[0]; yLen = dim[1]; zLen = dim[2]; }; } { "dim ...