Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (394) Code (59) Doc (78) Help (6) Quark (250) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 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; ...

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

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

  4. Simplex Doc

    ... 3D Simplex noise", Rect(128, 128, width*scale, height*scale), false); var uv = UserView(win, Rect(0, 0, win.bounds.width, win.bounds.height)); uv.animate_(true).frameRate_(10).background_(Color.black); uv.drawFunc = { height.do{ |y| width. ...

  5. TabbedViewTab Quark

    ... eation in case of kit switching. context = tabbedView.context; widget = context.userView.new(tabbedView.view, Rect(10,10,10,10)); //real bounds are set later widget.enabled = true; widget.focusColor=tabbedView.focusFrameColor; userDrawFunct ...

  6. ScaledUserView Quark

    ScaledUserView part of wslib a SCUserView adaptation which supports scaling and translation of it's drawFunc also see: ScaledUserViewWindow Creation ScaledUserView ( window, bounds, fromBounds ) the window and bounds work the same way as in ...

  7. TabbedViewTab Quark

    ... eation in case of kit switching. context = tabbedView.context; widget = context.userView.new(tabbedView.view, Rect(10,10,10,10)); //real bounds are set later widget.enabled = true; widget.focusColor=tabbedView.focusFrameColor; userDrawFunct ...

  8. sStream Quark

    ... 2)), //minimum Pitch, maximum Pitch (c_9, c_12) [StackLayout( lvPitchesUsrBack= UserView().minSize_(Size(500, 100)), lvPitchesUsrAnim= UserView().minSize_(Size(500, 100)) ).mode_(\stackAll), stretch:1] ), HLayout( View().fixedWidth_(usrPadd ...

  9. MView Doc

    ... alue at index only. . drawNumber the method that draws numerical display on the userview. Inherited instance methods Examples Pdef(\test, Pbind(\dur, 0.25)).play; // try the different click-drag modes, // and try typing in different values ...

  10. VBAP Doc

    ... speakerList = [[-30, "L"], [30, "R"], [0, "C"], [-110, "Ls"], [110, "Rs"]]; c = UserView.new(w,Rect(0, 0, 400, 380)); c.canFocus = false; c.drawFunc = { Color.grey(0.8).set; // draw the speaker layout Pen.translate(200,200); ((actPoint.thet ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow