Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (394) Code (59) Doc (78) Help (6) Quark (250) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. openbci_gui_bandpower Quark

    ... Pen.stroke; Pen.pop; }; win.front; CmdPeriod.doOnce({win.close}); //--plot usr= UserView(win, Rect(*#[0.14, 0.19, 0.8, 0.64]*win.bounds.extent.asArray)); usr.background= Color.new255(245, 245, 245, 220); usr.clearOnRefresh= true; usr.drawFu ...

  2. ScatterView Quark

    ... moveTo((extX*0.5)@(0)); Pen.lineTo((extX*0.5)@(extY)); Pen.stroke; }; }; plot = UserView.new(parent, bounds) .drawFunc_({|w| var width, height, rect, pad = 10; if (drawAxis) { pad = 60 }; width = w.bounds.width - pad; height = w.bounds.heig ...

  3. sKeyboard Quark

    ... opUpMenu(), stretch:1], clearButton= Button().states_(#[["Clear"]]) ), usrView= UserView().minSize_(Size(winRect.width-22, winRect.height*0.75)), midiNotesText= TextView().maxHeight_(22), midiVelocitiesText= TextView().maxHeight_(22), HLayo ...

  4. ActionMenu Quark

    ... s.pr_drawArrow(rr)}); }; }; showArrow.booleanValue.and(btnClass=="Button" ).if{ UserView(button,rr).drawFunc_({this.pr_drawArrow(r)}); }; button.action=this.prButtonAction; } toolTip_{arg str; button.toolTip_(str); button.refresh; } pr_draw ...

  5. ModernLife Quark

    ... entGrid.deepCopy; view.refresh; } ) }) .onClose_({ playRoutine.stop; }); view = UserView(win, win.view.bounds) .clearOnRefresh_(false) .background_(Color.black) .drawFunc_ ({ if(isPlaying, { Pen.color = Color.gray(0, alpha: fadeAmount); }, ...

  6. eternal_return Quark

    ... \\ \;\ vv = GUI .compositeView.new(w, b2).background_( Color .black);\ v = GUI .userView.new(vv, Rect (0, 0, w.bounds.width, w.bounds.height))\ \ .mouseMoveAction_(\ |v,x| mapVal.value(x) \)\ .mouseUpAction_(\ |v,x| mapVal.value(x); changed ...

  7. BoxGrid Quark

    ... r = Color.black; gridNodes = Array.newClear(columns) ! rows; mouseTracker = GUI.userView.new(win, Rect(bounds.left, bounds.top, bounds.width+1, bounds.height+1)); //bounds = mouseTracker.bounds; pen = GUI.pen; columns.do({arg c; rows.do({ar ...

  8. GAPmatch Quark

    ... 2), xApart / 2, *angs[curAng]); curAng = 1 - curAng; }); Pen.stroke; }; lView = UserView(argParent, argBounds).background_(argBColor.value) .clearOnRefresh_(false) .focusColor_(Color.gray(alpha: 0)) .mouseDownAction_ ({ lView.clearDrawing; ...

  9. webMouse Quark

    ... )).front; win.alpha_(NTMI.g.alpha); NTMI.webMouse.win = win; NTMI.webMouse.uv = UserView(win, win.view.bounds).front; NTMI.webMouse.uv.clearOnRefresh = false; NTMI.webMouse.uv.resize_(5); NTMI.webMouse.uv.drawFunc = { |uv| NTMI.webMouse[\dr ...

  10. SGUI Quark

    ... Text; }, TextView, { v.font= font; v.stringColor= currentPalette.buttonText; }, UserView, { v.canFocus= false; } ); }; win.view.canFocus= true; win.view.focus; CmdPeriod.doOnce({win.close}); } *report {|win| win.view.toFrontAction= { NetAdd ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow