Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. 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; ...

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

  3. extSCView-multiNew Quark

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

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

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

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

  7. 015-repulsive Quark

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

  8. weights_asBWGrid2 Quark

    ... Color.green(0.9, 0.8); // outvals as colors influx.outNames.do { |name, i| var rect = Rect(0 + (i * colstep), 0, colstep, height); Pen.addRect(rect); Pen.color = Color.grey(1 - influx.outValDict[name].biuni); Pen.fill; Pen.stringCenteredIn ...

  9. 022-viscosity Quark

    ... , world, acc, vel, loc, obj, visc, vv; //--world w= RedWindow("viscosity test", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, height], 0, 30); //dim,grav,maxvel,damp //--objects acc= RedVector2D[0, 0]; vel= RedVect ...

  10. GMFaderSlider Quark

    ... thisCenterHelpers = aBoolean; { this.refresh; }.defer; } prDrawSlider { var thisRectPos, thisRectSize; if(super.orientation == \horizontal) { if(super.polarity == \uni) { thisRectSize = super.getXValueMapping( super.value, super.min, super. ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow