Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    RePost redirect posting away from the main post window. In a Republic , lots of post messages come in all the time, especially with many active participants. RePost allows redirecting debug/info posting to a special view. Note: This is not ...

  2. ClockFace Quark

    ... ; }, { mod = newMod; }) } digitalGUI { window = GUI.window.new("Digital Clock", Rect(10, 250, 450, 110)).front; timeString = GUI.staticText.new(window, Rect(0, 0, 430, 100)) .string_(cursecs.asTimeString) .font_(Font("Arial", 40)); window.o ...

  3. test polygon inside detection Quark

    ... tate(2pi*i/n) }; ~point = 0.5@0.5; w = ScaledUserView.window( "WFSSpeakerConf", Rect( 128, 64, 400, 400 ), Rect.aboutPoint( 0@0, 2, 2 ); ); w.keepRatio = true; w.drawFunc = { var fader, crossfades, lines; Pen.addArc( ~point.asPoint * (1 @ - ...

  4. BoxPatchingMatrix Quark

    ... ; box = this.getBox(dp); draggingXY = x@y; b = this.getBounds(dp); outletArea = Rect.newSides( b.left, b.bottom - ioHeight, b.right,b.bottom); if(outletArea.containsPoint(x@y),{ outlets = box['outlets'] ? []; if(outlets.size > 0,{ outlet = ...

  5. ActionQMenu Quark

    ... rgItems,dAction,gAction,argUseDefaultFont, showArrow, noButton| bounds=bounds.asRect; name=nm; defaultAction=dAction?{}; globalAction=gAction?{}; useDefaultFont=argUseDefaultFont; arrowColor = Color.grey(0.5); noButton.booleanValue.not.if{t ...

  6. wordBins Quark

    ... ) // use SwingOSC for proper umlauts in visualization ( var win, extX, extY, winRect, view, fontName, strings, numbers, countSpec, sizeSpec, alphaSpec, colorSpec, sFactor = 0.25; #numbers, strings = (d.flop); strings = strings.collect{|str| ...

  7. RedGUICVSliderNumber Quark

    ... val)} //--private prMake {|parent, bounds| var cmp; if(bounds.isNil, { bounds= Rect(0, 0, defaultWidth, defaultHeight); }, { bounds= bounds.asRect; }); cmp= CompositeView(parent, bounds); cmp.decorator= FlowLayout(bounds, 4@0, 4@0); numb= ...

  8. 173-springs_soda Quark

    ... 300, w, world, wgrav, sprs, over, n= 10; //--world w= RedWindow("soda springs", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 30, 0.8); //dim,grav,maxvel,damp //--objec ...

  9. RedGUICVNumberBox Quark

    ... 0, <defaultHeight= 14; //--private prMake {|parent, bounds| bounds= (bounds ?? {Rect(0, 0, defaultWidth, defaultHeight)}).asRect; ^RedNumberBox(parent, bounds); } }

  10. RedGUICVKnob Quark

    ... 8, <defaultHeight= 48; //--private prMake {|parent, bounds| bounds= (bounds ?? {Rect(0, 0, defaultWidth, defaultHeight)}).asRect; ^RedKnob(parent, bounds); } }

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow