Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 0.5).neg @ 0, 0 @ (radius * 0.5), (radius * 0.5) @ 0, 0 @(radius * 0.5).neg ]; Pen.strokeColor = strokeColor; Pen.smoothing = true; Pen.translate(this.bounds.width * 0.5, this.bounds.height * 0.5); Pen.width = widthLine; // draw plus Pen.l ...

  2. GMCheckButton Quark

    ... aySymbolSize - (super.outlineSize * 4), 0 ); if(thisDisplaySymbol == \circle) { Pen.fillColor_(super.backgroundColor); Pen.strokeColor_(super.outlineColor); Pen.width_(super.outlineSize); Pen.addArc( Point( this.bounds.width / 2, this.bound ...

  3. extGradient-fill Quark

    ... alpha * this.alpha); }; } } + Gradient { fill { |rect| if( direction == \h ) { ^Pen.fillAxialGradient( rect.left@rect.center.y, rect.right@rect.center.y, color1, color2 ); } { ^Pen.fillAxialGradient( rect.center.x@rect.top, rect.center.x@re ...

  4. SCMButtonDelete Quark

    ... * 0.5), (radius * 0.5) @ (radius * 0.5), (radius * 0.5) @ (radius * 0.5).neg ]; Pen.smoothing = true; Pen.strokeColor = strokeColor; Pen.translate(this.bounds.width * 0.5, this.bounds.height * 0.5); Pen.width = widthLine; // draw cross. Pen ...

  5. SynthiX Quark

    ... e float value like a CC or spline */ SynthiX { var <>outlets, <>inlets; var uv, pen; var <>labelSize = 100, <>on, <>off, <>cant, <>font, bigFont; var black, blue, faint, background; var gridRect, width, height; var ins, outs; var <updateRat ...

  6. 072-lsystem_grow_discrete Quark

    ... ont; (startGeneration-1).do{lsys.next}; commands= ( $F: {|length, theta, noise| Pen.line(Point(0, 0), Point(0, length)); Pen.stroke; Pen.translate(0, length); {Pen.translate(0, 0-length)}; }, $G: {|length, theta, noise| Pen.translate(0, len ...

  7. openbci_gui_fftplot_with_neurofeedback-8ch+coherence 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 by khofstadter to calculate same bandwith on a ...

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

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

  10. StickView Quark

    ... ) * 1.1); //curve var rhoToLength = bentRho * ((headRadius * 0.6) - halfWidth); Pen.push; Pen.translate(halfWidth, halfWidth); // background circle Pen.strokeColor = midGrey; Pen.width = fieldSize * 0.15; Pen.addOval(Rect.aboutPoint(Point(0 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow