Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. 5_randOrbKeyPlayer Quark

    ... ); ///////// on KeyPlayerGui window: NTMI.ro.uv = UserView(NTMI.g.kpgui.parent, Rect(0, 200, 420, 100)); NTMI.ro.uv.background_(Color.grey(0.95)); NTMI.ro.uv.drawFunc = { |uv| Pen.stringCenteredIn(NTMI.ro.str, (uv.bounds.extent * (1@0.5)).a ...

  2. 071-lsystem_grow Quark

    ... eight= 512, w, cnt= 0, lsys, lplot; //--world w= RedWindow("lsystem grow test", Rect(128, 64, width, height)).front; lsys= RedLSystem("F", ($F: "F[+F--F]+F")); lplot= RedLTurtle(lsys, 5, 5); //length, theta //--loop w.draw{ if(cnt==0, { lsy ...

  3. Dialogs Quark

    ... g { arg prompt, defaultString, callback; var b; Sheet({ arg l; b = TextField(l, Rect(0, 0, 150, 30)); b.string = String.new ++ defaultString; b.action = {arg field; callback.value(field.value); l.close; }; }, prompt); { b.focus }.defer; } } ...

  4. 5_drawer Quark

    ... W, { // make a window ... q.draw.win = Window("DRAW", WinBounds.stored[\DRAW] ? Rect(400,400,400,400)).front; q.draw.win.alpha_(0.7); // and put a userview on it, on which we can we draw: q.draw.uv = UserView(q.draw.win, q.draw.win.bounds.e ...

  5. GMDuoSequencer Quark

    ... xIndex; this.refresh; }; }; }; } draw { var caseSize = Point( super.interactionRect.width / thisValues.size, super.interactionRect.height ); var symbolSize = min( caseSize.x * thisSymbolRatio, caseSize.y / 2 * thisSymbolRatio ); var newSym ...

  6. shapetools Quark

    + Rect { radiusH {^width/2} radiusH_ { |dx| ^this.class.aboutPoint(this.center, dx, height/2)} radiusV {^height/2} radiusV_ { |dy| ^this.class.aboutPoint(this.center, width/2, dy)} centerTop {^Point.new(left + (width/2), top) } centerTop_ { ...

  7. gui_example_userview Quark

    ... 5-50'); width= width.min(board.bufferSize); win= Window("gui example userview", Rect(10, 100, width, height)).front; img= Image.color(width, height, Color.black).interpolation_(\fast); win.drawFunc= { var chanHeight= height/board.numChannel ...

  8. 061-angents-gol_synth Quark

    ... ut, Pan2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("agents test ca2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; //world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp world= R ...

  9. brown Quark

    ... ) .setSpec( \center, PointSpec( 200, 0.1@0.1 ) ) .setSpec( \radius, PointSpec( Rect(0,0,200,200), 0.1@0.1 ) ) .setSpec( \angleStep, [0,360].asSpec ) .setSpec( \step, [0,1].asSpec );

  10. UScoreView Quark

    ... see <http://www.gnu.org/licenses/>. */ /* View that shows events of a score as rectangles with rounded corners. */ UScoreView { classvar <spaceBarPlayAnyway = false; classvar <>showGrid = true; classvar <>showUChainNames = true; classvar < ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow