Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... foreColor = Color.new255(103, 148, 103); outbus = 0; win = GUI.window.new(name, Rect(point.x, point.y, 220, 195), resizable: false); GUI.staticText.new(win, Rect(10, 0, 40, 12)) .font_(GUI.font.new("Helvetica", 9)) .string_("ram use:"); ram ...

  2. GameLoopGUI Quark

    ... idth*0.4}; if (y == nil){y = GUI.window.screenBounds.height*0.45}; mainBounds = Rect(x, y, w, h); entManager = gameloop.entManager; repManager = gameloop.repManager; visualiser = GameLoopVisualiser(entManager,repManager); instance = this; C ...

  3. ScatterView Quark

    ... argSpecX ? [0,1].asSpec; specY = argSpecY ? specX.copy; possibleMethods = [\fillRect, \fillOval, \strokeOval, \strokeRect]; this.symbolSize = 1; symbolColor = symbolColor ? Color.black; background = Color.white; highlightColor = Color.red; ...

  4. extServer-makeView Quark

    ... .front }); if(w.isNil,{ w = window = GUI.window.new(name.asString ++ " server", Rect(10, named.values.indexOf(this) * 120 + 10, 320, 92)); w.view.decorator = FlowLayout(w.view.bounds); }); if(isLocal,{ if( useRoundButton ) { booter = RoundB ...

  5. extSCView-multiNew Quark

    + Rect { *multiNew { |...args| args = args ? [0,0,0,0]; args = args.flop; ^Array.fill(args.size, { |i| Rect(*args[i]) } ); } }

  6. GMGridView Quark

    ... pdateContainers; this.refresh; } calculateCaseSize { caseSize = this.interactionRect.bounds.size.asPoint / thisGridSize; } calculateNearestPoint { |mousePos| nearestPoint = Point( mousePos.x.linlin( this.interactionRect.left, this.interacti ...

  7. window_center_rect Quark

    + Window { *centerRect {|argWidth = 500, argHeight = 500| ^Rect ( (Window.screenBounds.width / 2) - (argWidth / 2), (Window.screenBounds.height / 2) - (argHeight / 2), argWidth, argHeight ); } }

  8. SC2DSlider Help

    ... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window ( "2DSlider" , Rect (100,100, 140 ,140)).front; t = Slider2D (w, Rect (20, 20,80, 80)) .action_({ |sl| [ ...

  9. openbci_gui_fftplot Quark

    ... : 0.0 ) }.dup(board.numChannels); //--window var win= Window("fft plot widget", Rect(10, 100, 512, 338)); var fs= "Frequency (Hz)"; var as= "Amplitude (uV)"; win.view.minSize= Size(436, 145); win.background= Color.white; win.drawFunc= { var ...

  10. 015-repulsive Doc

    ... ight= 300, w, wgrav, world, rep, obj; //--world w= RedWindow("repulsive test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 10); //dim,grav,maxvel,damp //--objects re ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow