Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (394) Code (59) Doc (78) Help (6) Quark (250) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. GUI-Layout-Management Doc

    ... h_(150) ) ).front; ) ⧉ ✔ The minimum size of a view is especially important for UserViews which doesn't have by default a minimum size. In the example the first UserView is invisible. ( w = Window.new(bounds:Rect(100,100,200,200)).layout_( ...

  2. RedPerlin Doc

    ... ctaves= 8; w= Window("perlin test 1d", Rect(128, 64, width, height), false); u= UserView(w, Rect(0, 0, width, height)); u.background= Color.black; a= RedPerlin.new; u.drawFunc= { Pen.strokeColor= Color.white; width.do{|x| Pen.addRect(Rect.a ...

  3. GMCloseButton Doc

    ... a cross for creating graphical interfaces Location: NOT INSTALLED! See also: GMUserView , GMStyle Description GMCloseButton is an easy to use customisable button. It natively displays a cross, suggesting pressing it will close the currentl ...

  4. MxDrawer Quark

    ... 46269, 0.96588486140725, 1.0); width = min(layout.bounds.width, 200); // view = userView ?? { UserView(layout, bounds ?? { Rect(0, 0, 100, 800) }) }; ActionButton(layout, "..", { this.drillUp }); searchBox = TextField(layout, (width-28)@17) ...

  5. cog wheels by redfrik (redFrik) Code

    ... ize= Size(22, 22); var button; Window().front.view.layout_( StackLayout( UserView().drawFunc_{|usr| Pen.strokeColor= Color.black; Pen.width= 1; Pen.translate(size.width/2, size.height/2); ~drawCogs.value(size.height/2 ...

  6. Filter Explorer @ 1000 Hz of the Cutoff Frequency (Centre Frequency) by pyoungryangko (prko) Code

    ... tion of the 5th through 11th columns is related to the Q-factor."); view = UserView(win, Rect(0, 160, w, h-430)); vIn = true; view .mouseDownAction_{ |view, x, y, modifiers, buttonNumber, clickCount| if(buttonNumber==0 & ...

  7. LSPlant Quark

    ... speed = 200; win = Window("LSPlant", winBounds).onClose_(this.stopDraw); view = UserView(win, win.view.bounds) .clearOnRefresh_(false) .background_(Color.black) .drawFunc_ ({ var dx, dy, nextP; if(willDraw, { dx = ((headingStack.last * (pi ...

  8. Vowel space by formants f2 f1 by 0-2U (grirgz) Code

    ... , 30, 10 )) .font_(Font("Helvetica", 8)) .string_(i.asString) } ; u = UserView(w, Rect(0, 20, d, e)).background_(Color.white) ; f = {|v, f2, f1| StaticText(u, Rect(f2.linlin(500, 2500, d, 0), f1.linlin(200, 800, 0, e)-18, ...

  9. SCMButtonDelete Quark

    ... AUTHOR: Marinus Klaassen (2012, 2021Q3) * * TODO make een single press base SCMUserView voor delete and plus button */ SCMButtonDelete : UserView { var pressed=false, strokeColor, highLightColor; *new { |parent, bounds| ^super.new(parent, ...

  10. nUFOInfo Quark

    ... n2iRect = bounds.extent.asRect.top_(hi * 0.8).height_(hi * 0.2); var nUFOView = UserView(nUFOZone, uvRect) .background_(NTMI.g.butGrey); NTMI.g.main.nUFOView = nUFOView; nUFOView.drawFunc_({ |uv| var bounds = uv.bounds.extent.asRect; Pen.ad ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow