Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (216) Code (31) Doc (58) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. ColorPicker ( HSV to Color ), RAW Version by simon (Dindoléon) Code

    ... ker_view.background_( Color( 0.5, 0.5, 0.5 ) ); color_picker_view.layout_( VLayout( [ helper, stretch:1 ], [ HLayout( [ h_slider, stretch: 1 ], [ sv_slider, stretch: 2 ] ), stretch:2 ] ); ); color_picker_ ...

  2. SGUI Quark

    ... lesTuning; } initSGUIscalesTuning { var scaleNames, tuningNames; view= HLayout( VLayout( StaticText().string_("Scale"), scalesList= ListView().background_(Color.clear) ), VLayout( StaticText().string_("Tuning"), tuningsList= ListView().back ...

  3. weights_asBWGrid2 Quark

    ( w = Window("Influx").front; w.layout = VLayout( HLayout( ~utext = UserView().background_(Color.rand), ~uouts = UserView().background_(Color.rand), ), HLayout( ~uins = UserView().background_(Color.rand), ~uwg = UserView().background_(Color ...

  4. FoaXformView Quark

    ... initDex; var <>view, <>layout, <>labelTxt, <>name, <>mtx; var <ctlLayout, <addRmvLayout, <xFormMenu; var <inputMenu, <chain, colorsMuted = false; var muteBut, soloBut; *new { |sfView, target = \chain, chainDex, index| if(sfView.debug, { "cr ...

  5. startMenu Quark

    ... win= Window("sInstruments menu", winRect); win.userCanClose= false; win.layout= VLayout( HLayout( StaticText().string_("sInstruments: "++SInstruments.version), nil, (preferencesButton= SGUIsettings()).view ) ); win.layout.add(StaticText().s ...

  6. diff_syntax_colorizer Quark

    ... .3, 1.0) } ! (~lines.size + 1); var views; var selection; w = Window().layout_( VLayout(*{ |j| var line = { StaticText.new } ! ~maxLineSize; views = views.add(line); HLayout(*line.collect { |x| [x, align:\left] }) } ! ~lines.size) ); ~updat ...

  7. Neuromodule-Stream-test Quark

    ... w = Window("module", Rect(200, 300, 400, 30 * module.numCells + 100)); var l = VLayout(); var h = HLayout(l); var xsl = Set[], ysl = Set[]; var sliders, twod; var update = { |index, val| sliders[index].value = val; module.theta[index] = va ...

  8. FoaXformDisplay Quark

    ... ctlv = View(sfWin) .resize_(5).maxHeight_(105).background_(chainColor) .layout_(VLayout().margins_(5)); sfWin.view.palette_( QPalette.dark .setColor(Color.gray, \base) .setColor(Color.gray, \alternateBase) ) .background_(xfColor) .layout_(V ...

  9. UtopiaExamplesSingle_1 Quark

    ... find who's on the network ( ~win = Window("AdHocSociety").front; ~win.layout = VLayout.new.add(~listView = ListView.new); ~addrBook = AddrBook.new; // to get updates, just add a dependant ~addrBook.addDependant({|addrBook, what, who| {~lis ...

  10. Knob Doc

    ... k.canFocus = true ⧉ ✔ Compare Mouse Modes ( var view = View().layout_( HLayout( VLayout(Knob().mode_(\round), StaticText().string_("round")), VLayout(Knob().mode_(\vert), StaticText().string_("vert")), VLayout(Knob().mode_(\horiz), StaticTe ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow