Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ome random data a = (0..9).scramble.blendAt((0.1, 0.2 .. 9)); h = a.heatMap(10, Rect (0, 0, 300, 200), xLabels: true , yLabels: true , colscheme: \bw ); h.highlight(9.rand, 10.rand) monitorBus(bus, rate, colour) uses the highlight feature t ...

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

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

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

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

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

  7. 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 ); }); ...

  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 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow