Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... herited instance methods Examples ( var w = Window().front; var c = CheckBox(w, Rect(10, 10, 50, 50), "test"); c.action_{ |v| v.value.postln }; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/CheckBox.schelp link::C ...

  2. web Quark

    ... window = GUI .window.new( "colors" ).front; text = GUI .staticText.new( window, Rect ( 120, 10, 150, 20 ) ); button = GUI .button.new( window, Rect ( 10, 10, 100, 20 ) ) .states_( [[ "new color" ]] ) .action_( { key = table.keys.choose; win ...

  3. The Beasties by henklass (henklass) Code

    ... take e byte! Energy increases. 2. Age is increased by 1. 3. Determine ypur direction Are you hungry? Find food. Not hungry? Find someone to play with 4. take the step. Energy decreases by 1. 5. as 1. 6. Is there another beastie wh ...

  4. MovieView Doc

    ... n. Inherited instance methods Examples ( w = Window("mov").front; b = Button(w, Rect(0, 0, 150, 20)) .states_([["pick a file"]]) .action_({ File.openDialog("", { |path| m.path_(path) }) }); m = MovieView(w, Rect(0,20,360, 260)); ) // random ...

  5. ChooseCutProc Doc

    ... om a ui! var sf; var w,slider; var owncutfunc,ownrepfunc; w = SCWindow("panel", Rect.new(128, 64, 186, 90)); slider=DDSlider( w, Rect.new(32, 28, 128, 40), "which cut set", 0, 1, 'linear', 1, 0); w.front; owncutfunc= { arg pos,currlength; / ...

  6. EZKnob Help

    ... e it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds - An instance of Rect or Point . Default value is 160@20 . Make certain to choose bounds that are larg ...

  7. SFPGui Quark

    ... ({ arg th; model.tempo = th.value; model.changed; }); a = SoundFileView(layout, Rect(0,0, layout.bounds.width, 60)); this.read; layout.removeOnClose(Updater(model,{ // in case the file gets swapped pathLabel.label_(model.fileName).refresh; ...

  8. SFPGui Quark

    ... ({ arg th; model.tempo = th.value; model.changed; }); a = SoundFileView(layout, Rect(0, 0, layout.bounds.width, 60)); this.read; layout.removeOnClose(Updater(model, { // in case the file gets swapped pathLabel.label_(model.fileName).refresh ...

  9. SimpleNumber Help

    ... ip both - this is default). ( var center = 0.5, ctlCenter; w = Window ("bilin", Rect(100, 100, 200, 100)).front; a = Slider (w, Rect (20, 20, 150, 20)).value_(0.5); b = Slider (w, Rect (20, 45, 150, 20)).value_(0.5); b.action = { center = b ...

  10. Complex Doc

    ... set * zoom, y / n + offset * zoom) } ! n } ! n; w = Window("Julia set", bounds: Rect(200, 200, xs, ys)).front; w.view.background_(Color.black); w.drawFunc = { n.do { |x| n.do { |y| var z = field[x][y]; z = f.(z); field[x][y] = z; Pen.color ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow