Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. multiple wavetable animation by elifieldsteel (eli.fieldsteel) Code

    ... esh_(true); wt0view.drawFunc = {nil}; wt0view.refresh; wt0view.drawFunc_({ Pen.strokeColor_(Color.gray(0.2)); Pen.width_(2); Pen.line(192@0, 192@384); Pen.line(0@192,384@192); Pen.stroke; Pen.strokeColor_(Color.gray(0.35)); ...

  2. plusScaledUserView-drawTimeGrid Quark

    ... nsFace, 9 ) ); bnds.width = bnds.width + 4; scaleAmt = 1/this.scaleAmt.asArray; Pen.width = this.pixelScale.x / 2; Pen.color = Color.gray.alpha_(0.25); if( viewRect.width < (this.view.bounds.width/4) ) { width.do({ |i| Pen.line( (i + left) ...

  3. GridLines Quark

    ... tArray); labelX = ~labelX; // huh ? in the skin ? labelY = ~labelY; }; } draw { Pen.addRect(bounds); Pen.fillColor = Color.white; Pen.fill; if(gridOnX) { this.drawGridX; this.drawNumbersX; }; if(gridOnY) { this.drawGridY; this.drawNumbersY; ...

  4. plusScaledUserView-drawTimeGrid Quark

    ... nsFace, 9 ) ); bnds.width = bnds.width + 4; scaleAmt = 1/this.scaleAmt.asArray; Pen.width = this.pixelScale.x / 2; Pen.color = Color.gray.alpha_(0.25); widthDivide = (width / 100).max(1).nextPowerOfTwo.asInteger; if( viewRect.width < (this. ...

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

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

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

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

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

  10. 072-lsystem_grow_discrete Doc

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow