Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... s = bounds ?? { parent.bounds.moveTo(0,0).insetBy(4,4) }; } { bounds = bounds ? Rect( Window.screenBounds.width - 445, Window.screenBounds.height - 845, 340, 240 ); }; view = EZCompositeView( parent ? "UGlobalControl", bounds, true ).resize ...

  2. rewriteString Doc

    ... ////////////////////////////// ( var w, b, u, f, z, level=0; w = Window("test", Rect(40, 240, 200, 200)).front; w.view.decorator = FlowLayout(w.bounds.copy.left_(30).top_(30)); b = { |i| { |j| var c = ({ "abcd".choose } ! 3).join; Button(w, ...

  3. gui_example_fft Quark

    ... (factor)}.dup(board.numChannels); }; win= Window("fft gui example multislider", Rect(100, 100, 640, 640)).front; msliders= { MultiSliderView() .canFocus_(false) .isFilled_(true) .colors_(Color.black, Color.grey) .value_([0]) .elasticMode_(1 ...

  4. 2_MKtlElement_tests Quark

    ... N EXAMPLE for making a derived MKtlElement, as in issue #72: // (math is not correct yet, bt works in principle) // // issue #72 - Adding custom filter elements to an existing (and instantiated) controller // m = MKtl.make(\meXYController, ...

  5. GlobalsGui Quark

    ... eset.shift(zone.bounds.width - 16, textheight * 2); scroller = EZScroller(zone, Rect(0, 0, 12, numItems * textheight), numItems, numItems, { |sc| keysRotation = sc.value.asInteger.max(0); } ).visible_(false); scroller.slider.resize_(3); thi ...

  6. MultiServer Quark

    ... dow.dataptr.notNil }) { window.front; ^this }; window = SCWindow("MultiServer", Rect(10, 10, 400, 3 + ( servers.size * 29))).front; window.view.decorator = FlowLayout(window.view.bounds); servers.do({ |server| server.makeView( window ); }); ...

  7. WarpCutProc1 Doc

    ... 0, 1.0,\lin,0.01,0.0] ]; w = SCWindow("WarpCutProc1 demo N.M.Collins 23/08/03", Rect.new(100, 500, 500, (30*(data.size)))); slider= Array.fill(data.size, {arg i; DDSlider.performList(\new,[w, Rect(5,30*i, 300, 30)]++ data.at(i))}); slider.a ...

  8. ScaledUserViewWindow Quark

    ... dLines = [ 10 , 4 ]; ( // grab and move points w.clearDrawFuncs; w.fromBounds = Rect(0,0,100,100); p = { Point .rand( 100.0.rand , 100.0.rand ) } ! 10 ; a = nil ; // selected point w.drawFunc = { Pen .color = Color .green( 0.5 ).alpha_( 0.7 ...

  9. UScore Quark

    ... |item| item.score == this }) !? { |gui| gui.window.bounds }; } windowBounds_ { |rect| UScoreEditorGUI.all.detect({ |item| item.score == this }) !? { |gui| case { rect.isKindOf( Rect ) } { gui.window.bounds = rect; } { rect.isKindOf( Point ) ...

  10. Boids3D Quark

    ... oidList.collect{|boid| boid.getPanVals; // get the pan values }; } // creates a rectangle of size [dim] bounds_ {|dim| var rect, xLen, yLen, zLen; if(dim.isArray) { if(dim.size==3) { xLen = dim[0]; yLen = dim[1]; zLen = dim[2]; }; } { "dim ...

prev 141 142 143 144 145 146 147 148 149 150 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow