-
... n.bigUV.drawFunc.add(\circleFXName, { |uv| var center = uv.bounds.extent * 0.5; Pen.translate(center.x, center.y); Pen.addArc(0@0, center.y * 0.98, 0, 2pi); // shape: Pen.color_(Color.white); Pen.width = 3; Pen.stroke; if (NTMI.usesMainFX) ...
-
... , color1; ^super.newCopyArgs( startPoint, endPoint, color0, color1 ); } fill { ^Pen.fillAxialGradient( startPoint, endPoint, color0, color1 ); } penFill { |rect, alpha = 1, fromRect| //add operation later? var tempArgs; rect = rect ?? { Rec ...
-
... o, caseSize.y * thisSymbolRatio ); symbolSize = symbolSize - super.outlineSize; Pen.strokeColor_(super.outlineColor); Pen.width_(super.outlineSize); super.drawFrame(super.backgroundColor); // Draw highlights if(thisDisplayHighlights) { if(t ...
-
//port of OpenBCI_GUI fft plot widget, remake in supercollider by f.olofsson 2019 //MIT License, Copyright (c) 2018 OpenBCI, https://github.com/OpenBCI/OpenBCI_GUI/blob/master/LICENSE //adapted to calculate theta and gamma and store in glob ...
-
... [0.0, bounds.width]); this.gui(layout, bounds) } gui { arg layout, bounds; var pen, blue; view = UserView(layout, bounds); view.background = Color.white; gridLines = DrawGrid(bounds, GridLines([0.0, maxTime]), nil); pen = GUI.pen; blue = C ...
-
... DownAction.value(key, modifiers, unicode); // this.refresh; }) .drawFunc_({ GUI.pen.color = Color.black; GUI.pen.width = 1; GUI.pen.color = background; // background color GUI.pen.fillRect(Rect(0,0, bounds.width, bounds.height)); // backgro ...
-
... ).front;\ window.view.background_( Color .black);\ window.drawHook = \\ var j;\ Pen .use \\ Pen .translate(10, 10);\ colors.do\ |color, i| \ color.set;\ // Pen.fillRect(Rect(pad/2, 0, i_width, i_width)); \ // Pen .addAnnularWedge( Point (*( ...
-
... olor.grey(0.5); usr.animate_(true); usr.drawFunc = { |usr| if (object.notNil) { Pen.fillColor = Color.green; Pen.stringAtPoint("Click a name to move it to its location;", 10@10); Pen.stringAtPoint("alt-click to start drawing a line;", 10@30 ...
-
... olor.grey(0.5); usr.animate_(true); usr.drawFunc = { |usr| if (object.notNil) { Pen.fillColor = Color.green; Pen.stringAtPoint("Click a name to move it to its location;", 10@10); Pen.stringAtPoint("alt-click to start drawing a line;", 10@30 ...
-
... imation { arg duration = 5, color = Color.white, width = 2; var offset = 0; var penFunction; AppClock.sched(duration+2, { cueTrigger.removeFromDrawFunc(penFunction); }); penFunction = { Pen.use { Pen.width = width; Pen.color_(color); Pen.be ...