Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... width= 300, height= 300, wgrav; ~n= 8; //--world ~win= RedWindow("boids test3", Rect(128, 164, width, height)).front; wgrav= RedVector2D[0, 0]; ~world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp //--objects ...

  2. Pwhite Doc

    ... a = Pwhite(0.0, 1.0, inf); c = a.asStream.nextN(500); w = Window.new("Pwhite", 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(bo ...

  3. 091-livecoding-worlds Quark

    ... width= 300, height= 300, wgrav; ~n= 8; //--world ~win= RedWindow("boids test3", Rect(128, 164, width, height)).front; wgrav= RedVector2D[0, 0]; ~world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp //--objects ...

  4. InfluxKtlLoop Quark

    ... to KtlLoop // and sets its output object ( q.win = Window("Influx(\x) control", Rect(5, 540, 320, 210)).front; q.win.addFlowLayout; q.comp1 = CompositeView(q.win, q.win.bounds.width_(120)); q.comp1.addFlowLayout; StaticText(q.comp1, Rect(0, ...

  5. 9_chanTestGui Quark

    ... Window("chanTest").front; q.chantest.win.addFlowLayout; Button(q.chantest.win, Rect(0,0,120,30)).states_([["STOP"]]) .action_({ q.chantest.pink.end; q.chantest.task.stop; }); q.chantest.pink.postln; q.chantest.butz = (1..8).collect { |i| B ...

  6. EZText Doc

    ... 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 . label The label. Default value is nil . If ni ...

  7. SimpleButton Quark

    ... nds); height = max(b.height + 6, GUI.skin.buttonHeight); },{ if(bounds.isKindOf(Rect),{ // width x height width = bounds.width; height = bounds.height; },{ # width, height = bounds.asArray; width = width ?? {(string.bounds(font).width + 6)} ...

  8. extArray Quark

    ... s = false | var win, view, colors, chans, max, min, valRange; bounds = bounds ? Rect(20, 0, 500, 500); background = background ? Color(0.1,0,0.1,1); max = this.collect(_.maxItem).maxItem; min = this.collect(_.minItem).minItem; valRange = ma ...

  9. TheBFMixer Quark

    ... ////////////////////////////////////////////// mixwin = Window("BFormat Mixer", Rect(200, 512, 920, 800)); play = Button(mixwin, Rect(10, 630, 100, 20)) .states_([ ["play", Color.black, Color(0.5, 0.9, 0.5, 0.5)], ["stop", Color.black, Colo ...

  10. 018-repulsive_discrete Doc

    ... n= width/n, hn= height/n; //--world w= RedWindow("discrete world - explosions", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[n, n], RedVector2D[0, 0.98], 3, 0.5); //dim,grav,maxvel,damp //--objects rep= RedObject(nil, R ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow