Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... { var numv,slv; smallGui { arg layout; var l; l=this.guify(layout); this.box(l,Rect(0,0,40,GUI.skin.buttonHeight)); if(layout.isNil,{ l.front }); } guiBody { arg layout,bounds,slider=true, box=true; var h,w,p,gap; bounds = (bounds ?? {layo ...

  2. NumberEditorGui Quark

    ... var numv, slv; smallGui { arg layout; var l; l=this.guify(layout); this.box(l, Rect(0, 0, 40, GUI.skin.buttonHeight)); if(layout.isNil, { l.front }); } guiBody { arg layout, bounds, slider=true, box=true; var h, w, p, gap; bounds = (bounds ...

  3. TestFlowView Quark

    ... : ViewTester { test_startRow { var f,g,a,b,c; f = FlowView.new(w); a = Slider(f,Rect(0,0,100,100)); b = Slider(f,Rect(0,0,100,100)); f.startRow; c = Slider(f,Rect(0,0,100,100)); this.assert( a.bounds.left < b.bounds.left,"b should not be on ...

  4. GridLayoutCalc Quark

    /* divide a rect into grids A1 A2 3 4 5 6 ... 24 B1 B2 B3 request a rect as A1 B2 it can add gutter if you need it previously known as GridLayout */ GridLayoutCalc { var <>bounds,<>numCols,<>numRows,<>gutter; var <colWidth,<rowHeight; *new ...

  5. Grid Quark

    ... r); } initGrid { arg w, argbounds, argcolumns, argrows, argborder=false; var p, rect, pen; lazyRefreshFunc = { this.refresh; refreshDeferred = false; }; bounds = argbounds ? Rect(20, 20, 400, 200); bounds = Rect(bounds.left , bounds.top , b ...

  6. multiple wavetable animation by elifieldsteel (eli.fieldsteel) Code

    ... ose window if(uni == 27, {animateFn.stop;win.close;}) }); StaticText(win, Rect(60,100,384,48)) .font_(Font(Font.defaultSansFace, 36)) .stringColor_(Color.gray(0.8)) .string_("wavetable 0") .align_(\center); StaticText(win, Rect ...

  7. SWDataNetworkClientGui Quark

    ... tGui { var <sub,<get; var <xsize = 185; addSubButton{ sub = GUI.button.new( cw, Rect( 0, 0, 25, 16 )).states_( [ [ "Sub", Color.blue ], ["Uns", Color.red ] ] ).action_( { |but| parent.subSlot( slot.id, but.value ); }).font_( font ); } addGe ...

  8. 5_presetWin Quark

    ... eset; var pp, w, ppg, ng, hlv, vlv1, vlv2, butrow, randerButs; w = Window(name, Rect(450, 0, 387+100, 440)); w.alpha_(NTMI.g.alpha).front; hlv = HLayoutView(w, w.bounds.moveTo(0,0)); vlv1 = VLayoutView(hlv, Rect.new(0,0, 100, hlv.bounds.hei ...

  9. MultiButtonView by simon (Dindoléon) Code

    ... tates and current state reassignment. ( var win = Window( "MultiButtonView", Rect( 0, 300, 600, 150 ) ); var multi_button_view; // State = [ "Displayed Text", Text Color if selected, Border Color if selected, BG Color if selected, ...

  10. Pcauchy Help

    ... auchy (0.0, 1.0, inf ); c = a.asStream.nextN(500); w = Window .new( "Pcauchy" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); // a histogram of the values c.histo(500).plot ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow