-
... ol.set(60); w = Window.new("5.1 Panner", Rect(128, 64, 400, 450)).front; w.view.background_(Color.grey(0.3)); w.view.decorator = FlowLayout(w.view.bounds); speakerList = [[-30, "L"], [30, "R"], [0, "C"], [-110, "Ls"], [110, "Rs"]]; c = User ...
-
... .draw.demoUV = UserView(q.draw.demoWin, Rect(0,0,400,400)).front; q.draw.demoUV.background = Color.black; q.draw.demoUV.resize_(5); // tell it to always render 30 frames per second q.draw.demoUV.frameRate = 30; // now run q.draw.demoUV.anim ...
-
... q.view = UserView(q.win, q.win.view.bounds.insetBy(50,50)); q.view.resize_(5) .background_(Color.gray) .drawFunc_({|me| var width, height; var contactColor = Color.gray(1, 1); var avgColor = Color.gray(1, 0.3); var wavgColor = Color.gray(1 ...
-
... ing, synth; w = Window .new( "swing" , Rect (100, 100, 300, 500)).front; w.view.background_( Color .new255(153, 255, 102).vary); string = "swing " .dup(24).join; w.drawHook = Routine { var i = 0; var size = 40; var func = { |i, j| sin(i * 0 ...
-
... You can see an "echo" message in the message view, appearing as the same color background as the message view itself. Although not pictured, there are also "system" messages, which appear in italics and centered in the message view. These ...
-
... le", Rect(rrand(0, 50), rrand(10, 500), width, height), false ).front; win.view.background_(Color.new255(240, 240, 240)); // grey win.view.decorator=FlowLayout(win.view.bounds, (edge/2)@(edge/2), edge@(edge/4) ); }); radius = size/2.25; set ...
-
... e); ~ampView.numberView.canFocus_(false).enabled_(false); StaticText(~w, 295@5).background_(Color.gray); ~threshView = EZSlider(~w, 295@30, "threshold", \amp, action: { |ez| ~ampSynth.set(\thresh, ez.value); }, initVal: 0.4, labelWidth: 80, ...
-
Gendy3 See Gendy1 help file for background. This variant of GENDYN normalises the durations in each period to force oscillation at the desired pitch. The breakpoints still get perturbed as in Gendy1 . There is some glitching in the oscillat ...
-
... \center ) .toolTip_( "Snap resolution and mode" ) .applySkin( RoundView.skin ) .background_( Color.white.alpha_(0.25) ) .mouseDownAction_({ if( menu.notNil ) { menu.deepDestroy }; menu = Menu( Menu( *snapLabels.collect({ |item, i| MenuActio ...
-
... = "Time (s)"; var as= "Acceleration (g)"; win.view.minSize= Size(330, 275); win.background= Color.white; win.drawFunc= { var wb= win.bounds; var ub= usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.black; Pen.stringAtPoint("Acce ...