Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... te: it's up to the user to make sure that they are passing a vector with the correct size ScalarField { var <>func, <dim; *new{ |func,dim| if(func.isNil || dim.isNil){ Error("ScalarField: either func or dim is nil").throw }; ^super.newCopyA ...

  2. JMDrawIcon Quark

    ... rawIcon { classvar lightColor, >randomSeed=77, <>globalScale=0.8; *new { |name, rect ... more| rect = (rect ? (32@32)).asRect; ^this.drawFuncs.at(name).value( rect, *more ); // returns pen function } *initClass{ \DrawIcon.asClass.notNil.if{ ...

  3. extWindow Quark

    ... , newBounds; offSet ?? {offSet = this.screenBounds.width}; { win = this.new("", Rect(offSet, 0, 100, 100)); 0.1.yield; win.fullScreen; 0.1.yield; newBounds = win.bounds; 1.yield; win.endFullScreen; 0.3.yield; win.close; newBounds.postln; }. ...

  4. XiiFreqScope Quark

    ... e works only on the local server!"); }); }); } initFreqScope { arg setting; var rect, scope, pad, font, freqLabel, freqLabelDist, dbLabel, dbLabelDist; var setFreqLabelVals, setDBLabelVals; var scopeColor, bgColor, height, busNum; var onOff ...

  5. TestSCHLayout Quark

    ... w("background should be elastic when you resize the window"); h = HLayoutView(w,Rect(0,0,300,300)); h.background = Color.red(alpha:0.1); h.resize = 5; // elastic Array.fill(q, { arg i; var s; s = Slider(h, Rect(0,0,20,75)); s.value = i / q; ...

  6. SGME_GUIPanel4 Quark

    ... losarturoguerra@gmail.com> */ SGME_GUIPanel4 : SGME_GUIPanel { makeWindow { var rect; var image; var left, top; id = 3; super.makeWindow; rect = Rect( left: Window.availableBounds.width/(3/4), top: Window.availableBounds.height/1.9, width: ...

  7. SGME_GUIPanel2 Quark

    ... losarturoguerra@gmail.com> */ SGME_GUIPanel2 : SGME_GUIPanel { makeWindow { var rect; var image; id = 1; super.makeWindow; rect = Rect( left: Window.availableBounds.width/4, top: Window.availableBounds.height/1.9, width: window.bounds.width ...

  8. Space Game by mjsyts (mjsyts) Code

    ... r winW = win.view.bounds.width, winH = win.view.bounds.height, hudH=50, hud, hudRect = Rect(0, winH-hudH, winW, hudH); var keycodes = Platform.case( //<-, ->, ↓, ↑ \osx, {[123,124,125,126,49]}, \linux, {[65361,65363,65364,65362 ...

  9. Rect Doc

    Rect: Filter: Class methods new newSides fromPoints Inherited class methods Undocumented class methods aboutPoint fromArray fromRect Instance methods left top right bottom set setExtent width height origin extent leftTop rightTop leftBottom ...

  10. CtLoopGui Quark

    ... l)) } ) ); ); ( w = Window("record moves and play them").front; t = Slider2D(w, Rect(0,0, 160, 160)) .action_({ |sl| var x, y; x = sl.x; y = sl.y; c.recordEvent(\x, x); c.recordEvent(\y, y); Ndef(\test).set( \pFreq, \pFreq.asSpec.map(x), \p ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow