Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 6, <defaultHeight= 74; //--private prMake {|parent, bounds| bounds= (bounds ?? {Rect(0, 0, defaultWidth, defaultHeight)}).asRect; ^RedSlider(parent, bounds); } }

  2. source-menu Quark

    ... adTest.("menu-block", setup: ["start 2", "mix"], code: { ~radAZ.().blockMenu(1, Rect(100, 100, 140, 240)); 0.3.wait; ~radPick.("sine"); 1.wait; ~radSlot = ~radAZ.().instVarAt(\srcButtonArr)[0].string; }, check: { ((Block.liveBlocks[0] !? {| ...

  3. MView Quark

    ... drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bounds_(Rect(100, 100, 150, 24)); // crash m.parent.bounds_(m.parent.bounds.moveTo(100, 100)); // fine, no resize m.value_([1, 2, 3] / 4); m.dict.myspec = [0,100].asSpe ...

  4. maingui_loadtests Quark

    w = Window("test", Window.availableBounds).front; u = UserView(w, Rect(100, 100, 450, 550)).front; q.inph.mode = \full; x.stop; x = SkipJack({ u.refresh }, 0.04); x.dump u.drawFunc = { |uv| var bounds = uv.bounds.moveTo(0,0); var center = b ...

  5. 055-boids-ga_synth Quark

    ... t= 300, w, wgrav, world, synths; //--world w= RedWindow("boids test ga-synths", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp //--objec ...

  6. GMCheckButton Quark

    ... r); Pen.strokeColor_(super.outlineColor); Pen.width_(super.outlineSize); Pen.addRect( Rect( (this.bounds.width / 2) - (thisDisplaySymbolSize / 2), (this.bounds.height / 2) - (thisDisplaySymbolSize / 2), thisDisplaySymbolSize, thisDisplaySym ...

  7. extWinBounds Quark

    ... ue); Window.getAllCS; */ + Point { flipY { ^x @ (Window.screenBounds - y) } } + Rect { flipY { var flippedTop = Window.screenBounds.height - this.top - this.height; ^Rect( left, flippedTop, width, height ); } } + Window { *find { |name| nam ...

  8. 035-wave-phase Quark

    ... 2pi/p*(width/n)+spook; }.dup(nWaves); //--world w= RedWindow("wave phase test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.4]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.8); //dim,grav,maxvel,damp //--objects ...

  9. extWinBounds Quark

    ... ndow.getAllCS; */ + Point { flipY { ^x @ (Window.screenBounds.height - y) } } + Rect { flipY { var flippedTop = Window.screenBounds.height - this.top - this.height; ^Rect( left, flippedTop, width, height ); } } + Window { *find { |name| nam ...

  10. ProxyChainPresetGui Quark

    ... , numItems, zone, makeSkip: false) } makeTopLine { pcPrePop = EZPopUpMenu(zone, Rect(0,0,150, 20), \PCPre, [], { |ez| currPresetName = ez.item; currPresetIndex = object.settingNames.indexOf(currPresetName); object.setCurr(currPresetName) }, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow