Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... unds.width, this.view.bounds.height); // frame Color.black.alpha_(0.4).set; GUI.pen.width = 2; GUI.pen.moveTo(bounds.left @ (bounds.top + bounds.height)); GUI.pen.lineTo(bounds.left @ bounds.top); GUI.pen.lineTo((bounds.left + bounds.width) ...

  2. SCTransportWindow Quark

    ... \play ] ) { backColor = backColor.blend( Color.black, 0.25 ); }; backColor.set; Pen.addArc( view.bounds.center, view.bounds.height / 2, 0, 2pi); Pen.fill; Color.black.alpha_(0.9).set; Pen.width = 3; Pen.addArc( view.bounds.center, view.boun ...

  3. ScatterView Quark

    ... tX, extY; dx = rect.left; dy = rect.top; extX = rect.width; extY = rect.height; Pen.use{ Pen.color = color; Pen.translate(dx, dy); Pen.moveTo((0)@(extY*0.5)); Pen.lineTo(extX@(extY*0.5)); Pen.moveTo((extX*0.5)@(0)); Pen.lineTo((extX*0.5)@(e ...

  4. SGUIicons Quark

    ... mCogs*outerTeethBA), Point(size*0.5*outerRadB, size*pi/numCogs*outerTeethAB) ]; Pen.width= lineWidth; Pen.translate(size*0.5, size*0.5); Pen.strokeOval(Rect.aboutPoint(Point(0, 0), size*0.5*innerRad, size*0.5*innerRad)); numCogs.do{|i| Pen. ...

  5. PrePostView Quark

    ... - 4; var height = bounds.height - 4; var satPreLeft, satLeft; if (preAmp > 0) { Pen.color_(preCol); Pen.addRect(Rect(2,2, preAmp * maxwid, height)); Pen.fill; if (preAmp > 1.0) { Pen.color_(preSatCol); satPreLeft = (1 - (preAmp - 1).clip(0, ...

  6. PlotView Quark

    // wslib 2007 // Pen-based plot view PlotView : SCUserView { var <value; var <lineColor, <lineWidth = 1; var <dotColor, <dotSize = 0; var <fillColor, <fill = false; var <border = 1, <borderColor; var <minVal = 0, <maxVal = 1; var orientatio ...

  7. GMDuoSequencer Quark

    ... sSymbolRatio ); var newSymbolSize; symbolSize = symbolSize - super.outlineSize; Pen.strokeColor_(super.outlineColor); super.drawFrame(super.backgroundColor); // Draw highlights if(thisDisplayHighlights) { if(thisHighlights.notNil) { min( th ...

  8. GMGridView Quark

    ... be compiled // BEFORE we can compile this particular class Class.initClassTree(Pen); Class.initClassTree(GMStyle); Class.initClassTree(Point); } init { super.init; this.style_(GMStyle.default); caseSize = Point(1, 1); thisGridSize = Point( ...

  9. XiiToshioNode Quark

    ... signed sound fillcolor = Color.white; // the color of impregnation } draw { GUI.pen.use({ GUI.pen.width = 0.8; GUI.pen.translate(point.x, point.y); GUI.pen.moveTo(0@0); if(selected, { GUI.pen.strokeColor = Color.black; GUI.pen.strokeOval(Re ...

  10. UMarkerEventView Quark

    ... ToDraw, height = 1| var radius = 5; radius = radius.min( rectToDraw.height/2 ); Pen.moveTo( (rectToDraw.left - 1) @ 0 ); Pen.lineTo( (rectToDraw.left + 1) @ 0 ); Pen.lineTo( (rectToDraw.left + 1) @ (rectToDraw.top - radius) ); Pen.arcTo( (r ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow