Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Value.isKindOf(SimpleNumber).if( { ^Cartesian.new(this.x, this.y, aValue) }, { ^Rect.fromPoints(this, aValue) } // default SC ) } // mirror mirrorX { ^x.neg @ y } mirrorY { ^x @ y.neg } mirrorZ { ^this } mirrorO { ^x.neg @ y.neg } }

  2. CuePlayerGUI Quark

    ... tleFontSize = 11; marginTop = 3; } createMainWindow { window = Window.new(name, Rect(options.left, options.top, 282, 330), resizable: false); window.view.decorator = FlowLayout( window.view.bounds ); window.background_(Color.fromHexString(" ...

  3. GMSymbolSlider Quark

    ... ymbol super.drawBorder; } prDrawSlider { var symbolSize = min( super.interactionRect.height * thisSymbolRatio, super.interactionRect.width * thisSymbolRatio ); symbolSize = min(symbolSize, thisSymbolMaxSize); symbolSize = max(symbolSize, th ...

  4. SCDrawServer Quark

    ... color = color; clear = 0; if(fullscreen == true, { window = Window.new("cdraw", Rect(200, 200, width, height), resizable: false, border: false).front.fullScreen; view = UserView(window, Window.screenBounds()).background_(bgcolor).clearOnRef ...

  5. WFSSpeakerConf Quark

    ... dist.neg ]; // assumes square setup cornerAngles = [ 0.5pi, 0.5pi ]; // assumes rectangular setup } asWFSArrayConf { ^this } adjustCorner1To { |aWFSArrayConf| aWFSArrayConf = aWFSArrayConf.asWFSArrayConf; cornerAngles[0] = (angle - aWFSArra ...

  6. ParameterSpace.help Quark

    ... points) weighting algorithm. ( // Define a space: ~space = ParameterSpace.new( Rect( 0, 0, 10, 10 ) ); // the rect is the space in which we can move // add some points to the space: ~space.addPoint( Point.new( 1,1 ) ); ~space.addPoint( Poi ...

  7. extRect-transformations Quark

    + Rect { max { |aRect| aRect = aRect.asRect; #left, top, width, height = this.asArray.max( aRect.asArray ); } min { |aRect| aRect = aRect.asRect; #left, top, width, height = this.asArray.min( aRect.asArray ); } translate { |deltaPoint| delt ...

  8. ddwSnippets Quark

    ... { (Platform.resourceDir +/+ "../..").openOS } }; }; window = Window("Snippets", Rect.aboutPoint(Window.screenBounds.center, 120, 90)); window.layout = VLayout( textField = TextField().fixedHeight_(20), listView = ListView() ); textField.act ...

  9. SynthConsole Quark

    ... this.ugenFunc.scope(duration) } doFreqScope { var w,f; w = Window("Freq Scope", Rect(0, 0, 511, 300)); f = FreqScopeView(w, w.view.bounds); w.onClose_({ f.kill }); w.front; } doStop { arg stopFunc; stopFunc.value; ugenFunc.stop; Notificatio ...

  10. WetterReim Quark

    ... 'press' , 10016.0] ]; // the Example Data send Button q.button = Button (q.win, Rect (20,20,390,60)) .states_([ [ "Example Data" ] ]); q.button.action_({ arg butt; q.data[q.counter].postln; NetAddr .localAddr.sendMsg( "/weather" , *q.data[q ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow