Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (163) Code (5) Doc (50) Help (10) Quark (97) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. NMLUnitTests Quark

    ... "objectspace sync failed", 2); "Testing objectSpacePut:".postln; testObject2 = Polar(0.5, pi); objectSpace2[\polar] = testObject2; this.asynchAssert({objectSpace1[\polar].notNil}, {objectSpace1[\polar] == objectSpace2[\polar] == testObject ...

  2. GMLineMultiSlider Quark

    ... thisDrawHelpers) { if(thisHelpersStyle == \line) { super.drawLineHelpers( super.polarity, invertOrientation, super.helpersNumber, super.helperSubdivisions, super.helpersColor, thisCenterHelpers, thisHelpersRatio, thisHelpersRatio.pow(2) ); ...

  3. WFSEditViews Quark

    ... ct.positions[ index ]; if( pt.notNil ) { factor = (i/restSize); newPoint = pt.asPolar; newPoint.theta = newPoint.theta + (angles[ii] * factor); newPoint.rho = (newPoint.rho + (rhos[ii] * factor)).abs; newPoint = newPoint.asPoint; pt.x = new ...

  4. extPen-arrow Quark

    ... 5pi; var angle, leftPoint, rightPoint; angle = (start - end).theta; leftPoint = Polar( width, angle - ( arrowAngle/2 ) ).asPoint + end; rightPoint = Polar( width, angle + ( arrowAngle/2 ) ).asPoint + end; GUI.pen.moveTo( start ); GUI.pen.li ...

  5. extPolar Quark

    ... ds is a spherical and 3D cartesian coordinate support library. // // Extension: Polar // Support for spherical and cartesion (3d) coordinates //--------------------------------------------------------------------- + Polar { // spherical sup ...

  6. GMSymbol2DSlider Quark

    ... , thisSymbolMaxSize); symbolSize = max(symbolSize, thisSymbolMinSize); if(super.polarities[0] == \uni) { symbolPosition.x = super.getXValueMapping( super.values[0], super.min[0], super.max[0], super.scales[0], super.expMins[0] ); } { symbol ...

  7. GMFaderMultiSlider Quark

    ... sDisplayHelpers) { if(thisHelpersStyle == \line) { super.drawLineHelpers( super.polarity, invertOrientation, super.helpersNumber, super.helperSubdivisions, super.helpersColor, thisCenterHelpers, thisHelpersRatio, thisHelpersRatio.pow(2) ); ...

  8. GMSymbolMultiSlider Quark

    ... ; this.prDrawSliders; if(thisDisplayHelpers) { super.drawMultiDotHelpers( super.polarity, super.orientation, super.helpersNumber, super.helperSubdivisions, super.helpersColor, thisHelpersRatio, thisHelpersRatio / 2, super.values.size ); }; ...

  9. random Quark

    ... \radius ); thisThread.randSeed = f.get( \seed ); path.positions = n.collect({ (Polar( 1.0.rand, 2pi.rand ).asPoint * radius ) + center; }); path; }, [ \center, 0@0, \radius, 8@8, \seed, 12345 ] ) .changesT_( false ) .setSpec( \seed, Positi ...

  10. extPen-roundedRect Quark

    ... .leftBottom ]; // light side /* if( radius@@3 != 0 ) { Pen.moveTo( centers[3] + Polar( (radius@@3) - width, pi - (angle@@1) ).asPoint ); Pen.lineTo( centers[3] + Polar( (radius@@3), pi - (angle@@1) ).asPoint ); Pen.addArc( centers[3], radiu ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow