Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ns: %, numRows: % \n\n".postf(numColumns, numRows); w = Window("Startup files", Rect.aboutPoint(Window.screenBounds.center, numColumns * 75, numRows + 4 * 15 ) ); w.view.minSize_(Size(150, 170)); w.view.maxSize_(Size(*Window.screenBounds.ex ...

  2. TimeRuler Quark

    ... ); if(swipeStart.notNil, { pen.use { pen.color = Color.blue(alpha:0.3); pen.fillRect( Rect(min(swipeStart, lastx), 0, (lastx - swipeStart).abs, bounds.height) ) } }); }; view.mouseDownAction = { arg view, x, y, modifiers, buttonNumber, clic ...

  3. examples Quark

    ... ~visrep); //SLIDERS TO DEBUG WANDER Slider( GameLoopGUI.instance.mainView.view, Rect(0, 200, 50, 200); ).action_({ arg i; ~wander.wanderRadius = (20 * i.value).debug("Radius") }); Slider( GameLoopGUI.instance.mainView.view, Rect(100, 200, 5 ...

  4. asSVGFile Quark

    ... lor .red; } // GUI style color setting { Color .red.set }; GUI .pen.strokeOval( Rect (10,10,380,280 ) ); }; w = GUI .window.new( "testplot" ).front.drawHook_( d ); ) f = d.asSVGFile( "~/Desktop/test asSVGFile" ); // creates a file (doesn't ...

  5. rewriteString Quark

    ... ///////////////////////// ( var w, b, u, f, z, level=0; w = SCWindow ( "test" , Rect (40, 240, 200, 200)).front; w.view.decorator = FlowLayout (w.bounds.copy.left_(30).top_(30)); b = { |i| { |j| var c = ({ "abcd" .choose } ! 3).join; SCButt ...

  6. GMButton Quark

    ... thisSVGPath = ""; this.refresh; }; } resizeSVG { var hRatio = super.interactionRect.width / thisSVGSize.x; var vRatio = super.interactionRect.height / thisSVGSize.y; var width; var height; thisSVG.free; if(hRatio < vRatio) { width = (super ...

  7. EqualizerUI Quark

    ... ntainer | /* DEFINE EQ GUI */ var equalizerComposite = CompositeView(container, Rect(5, 5, 700, container.bounds.height - 15)); var userView = UserView(equalizerComposite).minHeight_(equalizerComposite.bounds.height-80); equalizerComposite. ...

  8. WFSSpeakerConfGUI Quark

    ... r ctrl; if( parent.isNil ) { parent = this.class.asString; bounds = bounds ?? { Rect( 400 rrand: 450, 120 rrand: 150, 806, 572 ) }; } { bounds = parent.asView.bounds; }; view = EZCompositeView( parent, bounds, gap: 2@2, margin: 2@2 ); view. ...

  9. cmc_fd_example Quark

    ... dow(); ~fdex.w.addFlowLayout(2@2, 1@1); ~fdex.faders = {{ |i| EZSlider(~fdex.w, Rect(0,0,23,95), i, layout: \vert) }!16 } ! 4; ~fdex.w.front; ~fdex.faders.shape; // create vars and methods to select a group of 4 highlighted faders // init v ...

  10. UMarkerGUI Quark

    ... ] = UserView( composite, 28@14 ) .resize_(3) .drawFunc_({ |vw| var wd = 8, smallRect; if( chain.displayColor.notNil ) { Pen.roundedRect(vw.drawBounds, wd); chain.displayColor.penFill(vw.drawBounds, 1, nil, 10); smallRect = Rect( vw.bounds.w ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow