Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. Mountains by simon (Dindoléon) Code

    ... nc = { | view | var case_height = view.bounds.height / parameters.size; Pen.fillColor_( colors[ selected_view ] ); Pen.fillRect( Rect( case_height * 0.2, case_height * selected_view + ( case_height * 0.2 ), view.bou ...

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

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

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

  6. Cheap Screen Saver (randomness free) by rukano (rukano) Code

    Messing around with pen, trying not to use randomness. Turned out like a 90's screen saver. w = Window("screensaver", Window.screenBounds).front.fullScreen; w.view.keyDownAction = { w.close }; u = UserView(w, w.view.bounds); u.background ...

  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