-
... ,Rect(5,5,160,150)); msview.value_(grid); msview.thumbSize_(10.0); msview.strokeColor_(Color.blue); msview.fillColor_(Color.blue); msview.drawLines(false); msview.gap_(0); w.front; //-0.1 so always updates ahead of next scheduler, but not s ...
-
... = ({ "abcd" .choose } ! 3).join; SCButton (w, Rect (0,0, 30,25)) .states_([[c, Color .black]]) .action_({ f.(c) }) .font_( Font ( \Georgia , 11)) } ! 4; w.view.decorator.nextLine } ! 4; w.view.decorator.nextLine; SCButton (w, Rect (0,0, 30 ...
-
... !? { freq = args[foundAt + 1]; AppClock.sched(s.latency, { w.view.background = Color(f.(freq), f.(freq + 0.3), f.(freq + 0.553)); nil }) }; }); w.onClose = { ~visualize = nil }; w }; ) ( var p; ~window = ~makeWindow.value; p = Pbind(\degre ...
-
... r) ) }).load(s); ) ( // plot grains, x = time, y = freq, grainAmplitude = alpha color of ovals // Rendering may take a few seconds ... var routine; var num = 51; var x = 0, y = 0; var txt; txt = "Grains" ; n = NB .new( "granular" , 600, 470 ...
-
... b].collect { |name, i| StaticText(d.win, Rect(i * 100, 0, 96, 20)) .background_(Color.yellow).align_(0).string_(name); }; w = SkipJack({ "...".postln; [\a, \b].do { |name, i| d.views[i].string_(name ++ ":" + d[name]) } }, 0.5, { d.win.isClo ...
-
... alue; }; res.postln; }); action.value; } *checkForUpdatesGUI { var cantCheck, bgColor; bgColor = UChainGUI.skin[ 'SCAlert' ] !? _.background ?? { Color.white }; cantCheck = { SCAlert("WFSCollider can't check for updates...\n" "Most probably ...
-
... aticText().fixedHeight_(" ".bounds(fnt).height*2) .align_(\topLeft).background_(Color.grey(0.9, 0.5)) ) ); SGUI.report(win); SGUI.adapt(win); win.front; infoTextString.font= fnt; sendOsc= {|arr| var str= ""; arr.do{|a| SInputs.destinations[ ...
-
... resizes the post window, renames it with a homage to Nim Chimpsky, changes the colors. It put together some functionalities of GeoDocument and GeoClock . The top row contains: server window: mirrors the server window: chronometer : records ...
-
... ez| maxPlaybackInterval = ez.value; }, maxPlaybackInterval); intervalControl.setColors(Color.grey, Color.white); // Initial state setup this.updateButtons; } // Toggle play/stop functionality togglePlay { if (isPlaying) { this.stopPlayingGU ...
-
... t= Rect(242, 242, 900, 780); //x, y, w, h var palette= SGUI.palette((highlight: Color.yellow(2/3, 0.75))); var fnt= SGUI.font.copy.size_(10); var fps= 25; var minFreq= 9, maxFreq= 9999; //Hz var transposeKeys= #[ $Q, $W, $E, $R, $T, $Y, $U, ...