-
... lPoints = ~allPoints.shift(1, Point(0,0)); }, '/viz'); w = Window(bounds: Rect(0, 0, 1920, 780)); v = UserView(w, w.view.bounds); v.background_(Color.white); v.animate_(true); v.drawFunc_({ var startPoint = Point(~allPoints ...
-
... one.port; var maxNumVoices= 30; //maximum number of voices for the synth var winRect= Rect(242, 242, 900, 780); //x, y, w, h var palette= SGUI.palette((highlight: Color.red(2/3, 0.5))); var fnt= SGUI.font.copy.size_(10); var fps= 25; var mi ...
-
... tvals = 0!4!4; q.buts = 4.collect { |i| 4.collect {|j| Button(q.mpdwin, Rect(i * 80 + 5, 240 - (j * 80) + 5, 75, 75)) .states_([["up" + (i + 1 + (j * 4)), Color.black], ["DOWN", Color.black, Color.green]]); } }.flop; q.play ...
-
... ples Here's a demo of different helpers configuration : ( var win = Window( "", Rect(100, 100, 600, 600) ).background_(Color.black); var slider1 = GMFaderSlider() .value_(0.333); var slider2 = GMFaderSlider() .value_(0.333) .helpersNumber_( ...
-
... rammatically. They are stored in a file named CVCenterPreferences in the same directory as the classfile. Class Methods . dialog Opens the GUI that lets user edit the preferences. Returns: this ( CVCenterPreferences ) . window The Window ho ...
-
... s = bounds ?? { parent.bounds.moveTo(0,0).insetBy(4,4) }; } { bounds = bounds ? Rect(1000, 350, 220, 400); }; view = EZCompositeView( parent, bounds ).resize_(5); bounds = view.bounds; view.onClose_({ if( current == this ) { current = nil } ...
-
... Transform = currentTransform ?? { SVGTransform( "" ); }; }; switch ( cmd[0], // rects and ovals \strokeRect, { group.add( SVGRect.fromRect( cmd[1], "strokeRect " ++ (index = index + 1), currentColor, "none", currentWidth, currentTransform ) ...
-
... vetable.sineFill(512, [0.5]).plot; Wavetable.sineFill(512, [1]).plot("Table 1", Rect(50, 50, 150, 450)); ⧉ ✔ Arguments: name a String, the name of the window. bounds a Rect giving the bounds of the window. minval the minimum value in the pl ...
-
... s = bounds ?? { parent.bounds.moveTo(0,0).insetBy(4,4) }; } { bounds = bounds ? Rect(1000, 350, 220, 400); }; view = EZCompositeView( parent, bounds ).resize_(5); bounds = view.bounds; view.onClose_({ if( current == this ) { current = nil } ...
-
//f.olofsson 2019 //two 3d sensors with optoforceOsc.py ( //--settings var winRect= Rect(0, 80, 320, 400); //x, y, w, h var palette= SGUI.palette; var fnt= Font.monospace(10); var fps= 15; //maximum gui updaterate - does not affect sensor i ...