Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1772) Code (147) Doc (407) Help (75) Quark (1139) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. UMapGUI Quark

    ... userView.drawFunc = { |vw| var rect, points, lastPoint; Pen.width = 1; Pen.fillColor = unit.guiColor; Pen.strokeColor = Color.black.alpha_(0.5); rect = vw.bounds.moveTo(0,0).insetBy(0.5,0.5); //Pen.roundedRect( vw.bounds.moveTo(0,0).insetB ...

  2. CloudGenMiniBuf by bateslewis (bateslewis) Code

    ... alse, 35); ~recordButton = Button(w, 51@19); ~recordButton.states_([["rec", Color.black, Color.white],["rec", Color.white, Color.red]]); ~recordButton.action = {|view| if (view.value==1) {s.record} {s.stopRecordin ...

  3. EnvScaleView Quark

    ... <horzGridDist,<maxHorzGridDist,<minHorzGridDist,numVertGridLines,<gridBackgroundColor,<gridColor,<gridWidth,<showHorzAxis,<showVertAxis,<breakPointSize,<curvePointRadius,<domainMode,<minRange,<maxRange,<unitMode,<scaleResponsiveness,<env,en ...

  4. SWDataNetworkLogGui Quark

    ... ates_( [["N"]]); recB = Button.new(w, Rect( 0, 0, 95, 20 )).states_( [["record",Color.red],["pause",Color.red]]); closeB = Button.new(w, Rect( 0, 0, 98, 20 )).states_( [["close"]]); dt = EZNumber.new( w, 95@20, "dt", [0.05,3600].asSpec, ini ...

  5. SC2DSlider Help

    ... \resize , \background , \minWidth , \maxWidth , \minHeight , \maxHeight , \knobColor , \step , \x , \y ] Examples ( w = Window ( "Slider2D" , Rect (100,100, 140 ,140)); t = Slider2D (w, Rect (20, 20,80, 80)) .x_(0.5) // initial location of ...

  6. ControlName.ext Quark

    ... | aStream | aStream << "k_" << this.index.asString << " " << "[shape=rectangle,color=" << this.rate.rateColor.asString << ",label=\"" << this.name.asString << ":" << this.defaultValue.asString << "\"];\n" } }

  7. call-window-colours Quark

    >> color DeepPink == radpost == (none) == radpostcont == (none) >> colortext black == radpost == (none) == radpostcont == (none) >> selcolor == radpost == (none) == radpostcont == (none) >> selcolortext == radpost == (none) == radpostcont = ...

  8. PartConvBufferView Quark

    ... if( File.exists( inPartConvBuffer.path.getGPath ? "" ) ) { views[ \path ].stringColor = nil; } { views[ \path ].stringColor = Color.red(0.66); }; { views[ \duration ].string = (inPartConvBuffer.duration ? 0).asSMPTEString(1000); }.defer; } ...

  9. gui-notes Quark

    ... urceKey ).value.postln // }); var button = Button.new(w) .states_([ [sourceKey, Color.black, Color.red], [sourceKey, Color.black, Color.green], ]) .value_( chain.isSlotActive(sourceKey).asInteger ) .action_({|obj| if(obj.value == 1, { // Ad ...

  10. JITGui Doc

    ... 100, \test, []); g = JITGui(Ndef(\a), 0, w, bounds: 300@40); ) // test changing color schemes for JITguis // this scheme is admittedly ugly but different GUI.skins.put(\jit, ( fontSpecs: ["Inconsolata", 12], fontColor: Color.white, backgrou ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow