Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... xtendable handle. It can have horizontal or vertical orientation, meaning the direction in which the handle moves and extends. Dragging the mouse pointer on either end of the range moves the end by itself. Dragging in the middle of the rang ...

  2. SkipJack Help

    ... then. ( // example is mac-only d = (a: 12, b: 24); d.win = SCWindow ( "dict" , Rect (0,0,200,60)).front; d.views = [ \a , \b ].collect { |name, i| SCStaticText (d.win, Rect (i * 100,0,96,20)) .background_( Color .yellow).align_(0).string_( ...

  3. init-GUI Quark

    ... in ?? { 30 @ 30 }; xmargin = margin.x; ymargin = margin.y; bounds = bounds ?? { Rect(20, 30, 800, 300) }; window = Window(name, bounds); window.front; window.background = backgroundColor; userView = UserView(window, Rect(0,0,window.bounds.w ...

  4. Pmeanrand Doc

    ... meanrand(0.0, 1.0, inf); c = a.asStream.nextN(500); w = Window.new("Pmeanrand", Rect(10, 10, 540, 800)); // plot the values c.plot(bounds: Rect(10, 10, 520, 380), discrete: true, parent: w); // a histogram of the values c.histo(500).plot(bo ...

  5. Image Quark

    ... tmap Images so } bitsPerSample { ^scns_obj.invoke("bitsPerSample"); } bounds { ^Rect(0,0,this.width, this.height); } drawAtPoint { |aPoint| Pen.use { Pen.translate(aPoint.x, this.height+aPoint.y); Pen.scale(1.0, -1.0); scns_obj.invoke("draw ...

  6. Executor Quark

    ... t { var bnd, cmWin, tBox; bnd = Window.screenBounds; cmWin = Window("Command:", Rect((bnd.width/2) - 100, (bnd.height/2), 200, 40), resizable: false); tBox = TextField(cmWin, Rect(10, 10, 180, 20)).focus(true) .action_ ({|txt| Executor.last ...

  7. OSCMon Quark

    ... } show { |name, bounds| if (w.isNil or: { w.isClosed }) { bounds = bounds ?? { Rect(20, 20, 300, 100) }; w = Window("osc msg mon", bounds).front; w.addFlowLayout; Button(w, Rect(0,0, 45, 20)).states_( [[\on, Color.black, Color.grey(0.7)], ...

  8. extStringCleaning Quark

    ... clean string.".postln; }); } *makeCleanerWindow { var w; w = Window("cleaner", Rect(0,0,140, 60)).front; w.view.decorator = FlowLayout(w.bounds.copy.left_(0).top_(0)); Button(w, Rect(0,0,120,20)) .states_([["clean current doc"]]) .action_ ...

  9. extStringCleaning Quark

    ... clean string.".postln; }); } *makeCleanerWindow { var w; w = Window("cleaner", Rect(0,0,140, 60)).front; w.view.decorator = FlowLayout(w.bounds.copy.left_(0).top_(0)); Button(w, Rect(0,0,120,20)) .states_([["clean current doc"]]) .action_ ...

  10. EZScroller Doc

    ... n = val . visible . visible = flag Examples ( w = Window.new("EZScroller test", Rect(100, 400, 200, 100)).front; // 5 displays v = { |i| DragBoth.new(w, Rect(0, i * 20, 100, 20)) }.dup(5); // 12 items a = (1..12); e = EZScroller(w, Rect(100 ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow