Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ope allocated and stops the FFT analysis synth. So: ( w = Window("My Analyzer", Rect(0, 0, 511, 300)); f = FreqScopeView(w, w.view.bounds); w.onClose_({ f.kill }); // YOU MUST HAVE THIS w.front; ) ⧉ ✔ Class Methods FreqScopeView. new ( pare ...

  2. RedWindow Doc

    ... , 200]) w.background= Color.red w.draw{Pen.fillColor= Color.black; Pen.fillOval(Rect.aboutPoint(Point(175.rand, 175.rand), 50, 50))} w.play //start drawing w.stop ( //mouse control w.draw{ var radius= 100.rand; Pen.fillColor= Color.blue(0.5 ...

  3. MPadView Doc

    ... ke a little keyboard to try the different modes: ( ~win = Window("PianoLayout", Rect(0, 200, 400, 200)).front; // switch between modes: ~pop = EZPopUpMenu(~win, Rect(4, 4, 192, 24), "mode", MPadView.modeKeys, { |pop| pop.item.postln; ~keys. ...

  4. 035-wave-phase Doc

    ... 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 ...

  5. NumberEditor Doc

    ... w; w.front; c = Array.fill(10,{ arg i; var n; n = NumberEditor(0,\amp); n.gui(w,Rect(10,25 * i, 150,13)); n }); ) ⧉ ✔ using a PageLayout on a window ( w = GUI.window.new; w.front; p = PageLayout.on(w); c = Array.fill(10,{ arg i; var n; n = ...

  6. TopView Doc

    ... ds Inherited instance methods Undocumented instance methods . bounds . bounds = rect . doDrawFunc . drawingEnabled = bool . findWindow . initTopView ( win ) . window = value Help template Copy and paste the text below and save to HelpSource ...

  7. RedTapTempoGUI Doc

    ... onitor= false; a.close; //embedd the gui into another window ( w= Window("hgf", Rect(100, 200, 500, 500)); w.front; v= View(w, Rect(100, 100, 200, 200)).background_(Color.blue); c= TempoClock(1.4); a= RedTapTempoGUI(c, parent:v); ) c.tempo= ...

  8. RedKMeans Doc

    ... ist with 1000 centroid indices. one for each vector ( w= Window("k-means plot", Rect(100, 100, 640, 480), false); w.view.background= Color.black; w.drawFunc= { var colors= {|i| Color.hsv(i/a.k, 1, 1)}.dup(a.k); b.do{|vec, i| Pen.fillColor= ...

  9. 174-springs_interconnected Doc

    ... 2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("springs interconnected", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld2(RedVector2D[width, height], wgrav, 99, 0); //dim,grav,maxvel, ...

  10. Motion Doc

    ... owView; o = SSObject(w,name:\O); // don't do nothing since it's static ⧉ ✔ --> \rect Rectilinear motion. It takes as argument an Array with the initial velocity in each axis. Physical model actions can still interact with the object. With r ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow