-
... ).front; vLayoutView = VLayoutView(window, Rect(0,0,width,height)); window.view.background_(Color.grey(0.8)); this.displayPreferenceControls(vLayoutView); this.createButtons(vLayoutView); } displayPreferenceControls { |view| preferences.do ...
-
... tWindow : Radicles {var text, <>megaString, <>time=0.1, <>deviation=0.01, win, <backgroundColor; *new {arg window, bounds, font, qpalette; ^super.new.initBasicClass(window, bounds, font, qpalette); } initBasicClass {arg window, bounds, font ...
-
... 160, 40, windowWidth, windowHeight)).front; u = UserView(w, w.view.bounds); u.background=Color.white; u.clearOnRefresh_(false); u.drawFunc={ Pen.fillColor = Color.black; Pen.addRect(Rect(p1, p2, 1, 1)); Pen.fill; }; r=Rout ...
-
Visual demonstration of aliasing/foldover (modified from James Harkins) by jnarveson (jnarveson) Code
... = Window(\aliasing, Rect.aboutPoint(screen.center, width / 2, height / 2 + 60)).background_(Color.white), sinPts = 400, sampPts = 20, sr, freq = 1, fsl, sinColor = Color.red, sampColor = Color.blue, lineColor = Color.grey; win.draw ...
-
... view = UserView(win, Window.screenBounds); view.clearOnRefresh = false; view.background = Color.white; //any click sets point as current mouse location //left-click does nothing special //right-click clears palette view.mouseDownAc ...
-
... chain.notes_( tf.string ); } { chain.notes_( nil ); }; updateNotes = true; }) .background_( Color.gray(0.8) ) .resize_(5); composite.decorator.nextLine; //composite.decorator.top = composite.bounds.height - (PresetManagerGUI.getHeight + 8 ...
-
... e gradients here, because the tabs are drawn with Pen. Gradients only work with background_; Custom color schemes and shapes can be controlled with instance variables or with the *new variations below. name a name for the window if a new wi ...
-
... format(b.id, b.user["login"], b.description, title, b.files[title]["content"])).background_(Color(0.9, 0.9, 0.9, 1.0)).syntaxColorize } ) ///////////////////// create a tip /////////////// // write your tip into a separate document; // firs ...
-
... = { |i, periode=2pi| sin((i/n)*periode) }; var lastValues = { 0 }.dup(n); uv.background = Color.black; uv.animate = true; uv.frameRate = 120; uv.drawFunc = { |uv| var values = Array.fill(n, { |i| sinFunc.((i-1) + (uv.frame/100), uv. ...
-
... GUI .window.new( "draw on us" , Rect (128, 64, format[0], format[1]));\ w.view.background= colors[1];\ \ participation = Participation (collective).start;\ \ participation.addResponder( '/track' , \ |t,r,msg| \ var point = msg[2] @ msg[3]; ...