Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... unds.postln; infComp.resize_(4); infComp.addFlowLayout(2@2, 2@2); q.inph.ioUV = UserView(q.inph.ioWin, Rect(size2, 0, size2, size2) ).resize_(5); q.inph.ioUV.background_(Color.grey(0.5)); NTMI.inph.modes = [\setRel, \setAbs]; // StaticText( ...

  2. WiiMote Doc

    ... ndow("IR sensor", Rect(100, 100, 400, 400)).front; w.onClose = { q.close }; u = UserView(w, Rect(0, 0, 400, 400)); u.background = Color.black; u.drawFunc = { var p; q.remote_ir.do {|ir, i| if(ir.valid>0) { p = Point(ir.posx*400, ir.posy*400 ...

  3. MinBox Quark

    MinBox a minimal gui Inherits from: UserView MinBox is a custom GUI widget that attempts to emulate slider, knob, numberbox, button, and the "EZ" container classes, all in a minimal amount of space. You may also specify a ControlSpec, as we ...

  4. MView Quark

    ... ew(123); // now type "x = x + 1" // -> 2 // 2. Window resize by code loops when userview with drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bounds_(Rect(100, 100, 150, 24)); // crash m.parent.bounds_(m.parent.bound ...

  5. EnvView Quark

    ... s, { this.refresh }) .put( \curves, { this.refresh }); } refresh { if( plotView.userView.view.isClosed.not ) { { plotView.refresh }.defer; }; } selected_ { |index| selected = index; this.changed( \selected, selected ); this.refresh } select ...

  6. Spectrum and Spectrogram of a sound file by jcc (jcc) Code

    ... ttext.string = " Time range: "; ftext.string = " Bin freq: "; spctrgrm = UserView(win, Rect(30, 400, xs, ys)); spctrgrm.background = Color.black; spctrgrm.drawFunc = { nx.do{ |x| ny.do{ |y| var m = spectrumArray[x][y] ...

  7. NodeSnapshot Quark

    ... roup | var gsv = GroupSnapshotView(group); var groupName = "group"; gsv.view = (UserView() .background_(groupColor) .drawFunc_(this.drawBorder(_, groupOutline)) ); gsv.view.layout = VLayout().spacing_(3).margins_(5); gsv.view.layout.add( St ...

  8. Morph Quark

    ... mat(morph.deviceID), 400@300).front; window.onClose_{ morph.guiClosed }; view = UserView(window, window.view.bounds.insetBy(20,20)); view .resize_(5) .background_(bgColor); view.drawFunc = {|view| var width, height; var avgPos = [morph.avg. ...

  9. sDrone Quark

    ... LinesButtonLeft, ampLinesButtonRight, ampLinesPopup; var ampUsr, ampUsrAnim, ampUserView; var ampLfoDepthElement= SGUIelement(); var ampLfoDepthSpec= ControlSpec(0, 100, 'lin', 1, defaultAmpLfoDepth, "%"); var ampLfoRateElement= SGUIelement ...

  10. openbci_gui_focuswidget Quark

    ... Point(10, 10), f0); }; win.front; CmdPeriod.doOnce({win.close}); //--plot usr= UserView(win, Rect(*#[0.05, 0.19, 0.9, 0.76]*win.bounds.extent.asArray)); usr.background= Color.new255(245, 245, 245, 220); usr.clearOnRefresh= true; usr.drawFu ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow