Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (229) Code (26) Doc (44) Help (34) Quark (125) SCDoc ↗ Forum ↗ Google ↗
  1. Additive Synthesis GUI Demo 1 by bruno (Bruno Ruviaro) Code

    ... All; "Done!".postln}; CmdPeriod.doOnce({win.close}); win.view.decorator = FlowLayout(win.view.bounds, margin: 10@10, gap: 20@10 ); buttonArray = Array.fill(16, {Button(win.view, 80@80)}); buttonArray.do({arg item, count; it ...

  2. Rate Player by joehigham (joehigham) Code

    ... nger",Rect(900,200,300,150)) .front .alwaysOnTop_(true); w.view.decorator_(FlowLayout(w.bounds, 20@10,50@10)); ~tex_1 = StaticText(w.view, 80@20) .string_("Button_1") .align_(\center) .font_(Font("Monaco", 10)) .background_(Colo ...

  3. CloudGenMiniBuf streamlined by till-bovermann (LFSaw) Code

    ... ct.fromPoints(posPoint, (posPoint + (400@410)))).front; win.view.decorator_(FlowLayout(win.bounds.copy.moveTo(0, 0))); win.view.decorator.nextLine; // a just in time - gui for the Tdef z = TdefGui(tdef, parent: win ...

  4. KickandBass by scottintokyo (Scott L Simon) Code

    ... r.black; u.animate = true; pt = Point(); r = Rect(); //w.view.decorator = FlowLayout(w.view.bounds); bb = Button(w, Rect(60, 20, 40, 30)) .states_([ ["on", Color.black, Color.red], ["off", Color.w ...

  5. Animation of Simple Harmonic Motion by elifieldsteel (eli.fieldsteel) Code

    ... , 100, 1020, 520) ).background_(Color.gray(0.2)).front; win.view.decorator_(FlowLayout(win.view.bounds, 10@10, 10@10)); cview = UserView(win.view, 1000@500).background_(Color.gray(0.25)); cview.drawFunc_({ |v| var center, newce ...

  6. CloundGenMiniFMproper by bateslewis (bateslewis) Code

    ... Rect.fromPoints(posPoint, (posPoint + (400@360)))).front; w.view.decorator_(FlowLayout(w.bounds.copy.moveTo(0, 0))); w.view.decorator.nextLine; // a just in time - gui for the Tdef z = TdefGui(tdef, parent: w); fdBox = EZ ...

  7. Additive Synthesis GUI Demo 2 by bruno (Bruno Ruviaro) Code

    ... ndow.new("Additive Synthesis", Rect(400, 30, 590, 670)); win.view.decorator = FlowLayout(win.view.bounds, 20@20, 20@20); win.onClose = {s.freeAll; "Done!".postln; "".postln}; CmdPeriod.doOnce({win.close}); win.front; // Multisli ...

  8. Additive Synthesis GUI Demo 3 by bruno (Bruno Ruviaro) Code

    ... // Change the gaps and margins to see how they work win.view.decorator = FlowLayout(win.view.bounds, margin: 10@10, gap: 20@20 ); buttonArray = Array.fill(16, {Button(win.view, 80@80)}); knobArray = Array.fill(16, {Knob(win.vie ...

  9. Bjorklund Toy by rinalka1227 (rinalka1227) Code

    ... .background_(Color.grey(0.05)).front .alwaysOnTop = true; w.view.decorator_(FlowLayout(w.bounds,4@4, 4@4)); ~topPanel = UserView(w, 494@45).background_(Color.rand(0.7,0.9)); ~topPanel.decorator_(FlowLayout(~topPanel.bounds, 4@4, 4 ...

  10. The Tunnel by schemawound (Schemawound) Code

    ... ow( "The Tunnel", Rect( 128, 230, 110, 140)); ~tunnelWindow.view.decorator = FlowLayout( ~tunnelWindow.view.bounds ); ~tunnelPreset.list.do({|each, count| (Button(~tunnelWindow, 30@30).states = [[count]]).action = {(~tunnelPreset.curre ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow