-
... invals inph.inNames.do { |name, i| var rect = Rect(0, vstep * i, lWid, vstep); Pen.addRect(rect); Pen.color = Color.grey(inph.inValDict[name].biuni); Pen.fill; }; // write inNames inph.inNames.do { |name, i| var rect = Rect(0, vstep * i, l ...
-
... i; var bnds; // used with string value = value.asCollection.wrapAt([0,1]).sort; Pen.use { rect = this.drawBounds; drawBounds = rect.insetBy( border, border ); if( orientation == \h ) { drawBounds = Rect( drawBounds.top, drawBounds.left, dra ...
-
... 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) ...
-
... = { run = false }; // stop the thread on close w.front; w.drawFunc = { Pen.width = 2; Pen.use { var time = TempoClock.default.beats - starttime; var x1, y1; // coordinates of rotating point 1 var r1 = 100; // radius ...
-
... r.black) .background_(Color.gray(0.725)); w.drawHook = { |v| Pen.fillColor = Color.gray(0.75); Pen.strokeColor = Color.black; Pen.width = 3; Pen.addArc(700@125, 35, 0, 2pi); Pen.fillStroke; }; w.refr ...
-
... , 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 ...
-
... bject : SCView SCUserView is a user-definable View intended mainly for use with Pen and drawHooks. It is also good for making custom buttons or other gui interfaces and displays. Thus anything you can draw with the methods of Pen , combined ...
-
//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 ...