-
... fac = 1, x = iconViewGroup[0].bounds.width, y = iconViewGroup[0].bounds.height; Pen.moveTo(Point(x * playX1, y * playY1)); Pen.lineTo(Point(x * (1-playX1), y * 0.5)); Pen.lineTo(Point(x * playX1, (1-playY1) * y)); Pen.width = 1.4 * fac; Pen ...
-
... { innerRect = scaledRect.insetBy(0.5,0.5); //selected outline if( selected ) { Pen.width = 2; Pen.color = Color.grey(0.2); this.drawShape(scaledRect); Pen.stroke; }; //event is playing if( event.isPlaying ) { Pen.width = 3; Pen.color = Col ...
-
... { innerRect = scaledRect.insetBy(0.5,0.5); //selected outline if( selected ) { Pen.width = 2; Pen.color = Color.grey(0.2); this.drawShape(scaledRect); Pen.stroke; }; //event is playing if( event.isPlaying ) { Pen.width = 3; Pen.color = Col ...
-
//port of OpenBCI_GUI accelerometer widget, remake in supercollider by f.olofsson 2019 //MIT License, Copyright (c) 2018 OpenBCI, https://github.com/OpenBCI/OpenBCI_GUI/blob/master/LICENSE //TODO test with ganglion and daisy //TODO sync men ...
-
... ounds.height); this.view_(GUI.userView.new(parent, argbounds)) .drawFunc_({ GUI.pen.color = Color.black.alpha_(0.4); GUI.pen.width = 1; GUI.pen.strokeRect(Rect(bounds.left+0.5, bounds.top+0.5, bounds.width-0.5, bounds.height-0.5)); // cente ...
-
//port of OpenBCI_GUI focus widget, remake in supercollider by f.olofsson 2019 //MIT License, Copyright (c) 2018 OpenBCI, https://github.com/OpenBCI/OpenBCI_GUI/blob/master/LICENSE //TODO test with ganglion and daisy ( var activeChannels= # ...
-
... ult conf { ^object ? WFSSpeakerConf.default; } conf_ { |newConf| object.removeDependant( this ); this.object = newConf ? WFSSpeakerConf.default; object.addDependant( this ); } init { this.conf = this.conf; this.onClose = { this.conf.removeD ...
-
... Rect(20,180,26,384)).background_(Color.clear); inputVertAxis.drawFunc_({ Pen.width_(5); Pen.strokeColor_(Color.new(0,0.75,1,0.5)); Pen.addArc( Point( 13, input[inc].linlin(-1.02,1.02,384,0) ), 10, 0, 2pi ...
-
... /////////////////////////////////////////////////////// // draw static elements Pen.strokeColor=Color.blue; Pen.alpha=1; // draw world bounds // Rect.aboutPoint(center,half x distance, half y distance) // remember that coordinates are chang ...
-
... mized // - should make use of GUI style ( waiting for color standardization ) asPenFunction { |bounds, track = 0, type = \pitchBend, channel = 0, cc = 0, minVal = 0, maxVal = 127, grid = true| // width is not set here, colors are. var event ...