Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. extVarGuiPlayerSection Quark

    ... 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 ...

  2. UPatternEventView Quark

    ... { 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 ...

  3. UPatternEventView Quark

    ... { 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 ...

  4. openbci_gui_accelerometer Quark

    //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 ...

  5. XiiVuView Quark

    ... 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 ...

  6. openbci_gui_focuswidget Quark

    //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= # ...

  7. WFSSpeakerConfView Quark

    ... 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 ...

  8. waveshaping animation by elifieldsteel (eli.fieldsteel) Code

    ... 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 ...

  9. SSWorldView Quark

    ... /////////////////////////////////////////////////////// // 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 ...

  10. extSimpleMIDIFile-plot Quark

    ... 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 ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow