Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... der { *initClass { Class.initClassTree(GUI); } makeView { arg layout, x, y; var rect; if((layout.isNil or: { layout.isKindOf(PageLayout) }), { layout = layout.asFlowView; }); this.view = GUI.button.new(layout, Rect(0, 0, x, y ? GUI.skin.but ...

  2. ColorPickerUI Quark

    ... o( Point(index + margin, view.bounds.height - margin) ); Pen.stroke; }); Pen.addRect( Rect( margin / 2 + (view.bounds.width - (margin * 2)) * v_slider_position + margin, margin / 2, margin, view.bounds.height - margin ) ); Pen.fillAxialGrad ...

  3. HrButton Quark

    ... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new.front; a = HrButton (w, Rect (20, 60, 150, 20)).states_([["1"], ["2"]]); a.action = { a.value.postl ...

  4. GameLoopVisualiser Quark

    ... instance of GameLoopVisualiser".error;} ); } init{ if (bounds.isNil, { bounds = Rect(GUI.window.screenBounds.width*0.5, GUI.window.screenBounds.height*0.5, width, height); } ); instance = this; CmdPeriod.add({this.clear}); this.initCameraRo ...

  5. VGScale Quark

    ... instNames, btns, showInst, tuningNode, skippy, comp; w = Window("Scale Graph", Rect(100, 0, 1300, 800)).front; w.view.background_(Color.black); instNames = VGTuning.mulTrees[scale].branches.keys.asArray.sort; comp = CompositeView(w, Rect(0 ...

  6. AutoRand Quark

    ... trib is linear dt: 0.5 // every half second ); // the autorand: a.makeButton(w, Rect (0,0,20,20)); ) Accessing Instance and Class Variables ctl the control to be randomly animated tpx the taskproxy doing the random jumps spec the controlspe ...

  7. 004-multiple_synth Quark

    ... (out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("bounce test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.1); //dim,grav,maxvel,damp //worl ...

  8. UScoreView Quark

    ... see <http://www.gnu.org/licenses/>. */ /* View that shows events of a score as rectangles with rounded corners. */ UScoreView { classvar <spaceBarPlayAnyway = false; classvar <>showGrid = true; classvar <>showUChainNames = true; classvar < ...

  9. 161-growth2 Quark

    ... e maxTotal= 1000; //also decides when to stop //--world w= RedWindow("growth2", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0.1, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav ...

  10. 160-growth Quark

    ... ime maxTotal= 600; //also decides when to stop //--world w= RedWindow("growth", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow