Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

  2. openbci_gui_timeseries Quark

    ... n.view.mouseMoveAction; win.front; CmdPeriod.doOnce({win.close}); //--plot usr= UserView(win, Rect(*#[0.1, 0.08, 0.88, 0.84]*win.bounds.extent.asArray)); img= Image(usr.bounds.width.asInteger, usr.bounds.height.asInteger); img.interpolation ...

  3. extServerGui Quark

    ... = Rect(0, 0, 400, max(400, tabSize * (countSize.value(levels) + 2))); // view = UserView.new(window, bounds); // // view.drawFunc = { // var xtabs = 0, ytabs = 0, drawFunc; // // drawFunc = {|group| // var thisSize, rect, endYTabs; // xtabs ...

  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. GAWorkbench Quark

    ... tationProb = 0.2; win = Window .new( "TSP" , Rect (300, 300, 500, 500)); view = UserView (win, win.view.bounds).background_( Color .black) .drawFunc_ ({ var fittest = gaInstance.genePool[0]; points.do ({ |pnt, cnt| Pen .color = if(cnt == 0, ...

  6. sGliss Quark

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

  7. BoxMatrix Quark

    ... bounds = Rect(bounds.left+1, bounds.top+1, bounds.width, bounds.height); view = UserView(w, bounds); bounds = bounds.moveTo(0,0); // my reference boxWidth = bounds.width.asFloat / numCols; boxHeight = bounds.height.asFloat / numRows; view.f ...

  8. ScaledUserView Quark

    // wslib 2006 // scaled SCUserView // 2007: altered for SC3.2 compatibility // 2009: altered for SwingOsc compatibility // TODO: correct half pixel problem for mouse feedback ScaledUserView { classvar <>defaultGridColor; var <gridColor; var ...

  9. XiiScaleSynth Quark

    ... oa, { tablet = TabletView(win,Rect(0, 0, screenX, tabletScreenY)) }, { tablet = UserView(win,Rect(0, 0, screenX, tabletScreenY)) } ); tablet.background = Color.white; tablet.canFocus = false; if ( GUI.id == \cocoa, { tablet.mouseDownAction ...

  10. CompressorUI Quark

    ... onState(bypassButton, false, activeOrbit, \activeCompressor); comporessorView = UserView(compressorFeedback, compressorFeedback.bounds); comporessorView.background_(Color.grey(0.95)); // Draw the comporessorView comporessorView.drawFunc = { ...

prev 21 22 23 24 25 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow