Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

  2. SmoothRangeSlider Quark

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

  3. bigUV Quark

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

  4. tri-o emulation by 0-2U (grirgz) Code

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

  5. Attack Detection and Amplitude Threshold Setter GUI by elifieldsteel (eli.fieldsteel) Code

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

  6. AxialGradient Quark

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

  7. GMSequencer Quark

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

  8. SCUserView Help

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

  9. openbci_gui_fftplot_with_neurofeedback-2ch Quark

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

  10. TimeRuler Quark

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow