Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... thisValue = 0; var thisMin = 0; var thisMax = 1; var thisScale = \lin; var thisPolarity = \uni; var thisOrientation = \vertical; var thisModStep = 0.01; var thisModStepOperator = \add; var thisModStep2 = 2; var thisModStep2Operator = \mul; ...

  2. MHexPad Quark

    ... .5 ); var rect, fillRect, fillRect2, fillColor; var hexPoints = 7.collect { |i| Polar(center.y, 2pi * (i/6) + angle).asPoint + center }; Pen.fillColor = hexColor; Pen.moveTo(hexPoints.last); hexPoints.do(Pen.lineTo(_)); Pen.fill; if( presse ...

  3. GameLoop_Overview Doc

    ... e creation of interactive sound units. Spatialisation according to cartesian or polar coordinates using Ambisonics. Steering behaviors. A spatial index for efficient collision detection (SpatialHashing). Overviews Quick Start Guide GameLoop ...

  4. GMZZMultiSlider Quark

    ... var thisValues; var thisMin = 0; var thisMax = 1; var thisScale = \lin; var thisPolarity = \uni; var thisOrientation = \horizontal; var thisModStep = 0.01; var thisModStepOperator = \add; var thisModStep2 = 2; var thisModStep2Operator = \mu ...

  5. VuView Quark

    ... .pen.moveTo(bounds.center.x @ (bounds.top + bounds.height - 1)); GUI.pen.lineTo(Polar.new(bounds.height * 0.95, [-0.75pi, -0.25pi, \linear].asSpec.map(value)).asPoint + (bounds.center.x @ (bounds.top + bounds.height))); GUI.pen.stroke; // e ...

  6. StickView Quark

    ... ^point.x } x_ { |val| point.x = val } y { ^point.y } y_ { |val| point.y = val } polar { ^point.asPolar } rho { ^point.rho } angle { ^point.theta } // interface ... hmm, point is [-1, 1]! value { ^[point.x, point.y, hatval] } value_ { |val| ...

  7. StickView Quark

    ... ^point.x } x_ { |val| point.x = val } y { ^point.y } y_ { |val| point.y = val } polar { ^point.asPolar } rho { ^point.rho } angle { ^point.theta } // interface ... hmm, point is [-1, 1]! value { ^[point.x, point.y, hatval] } value_ { |val| ...

  8. WFSArrayPanDir Quark

    ... sines = #[0,1], sineMul = 1, mul = 1, add = 0, taper = true| // inPos: Point or Polar var difx, dify, sqrdifx, inFront, crossing, delayOffset; var globalDist, globalAngle, speakerAngleRange, focusFades, fadeArea; var adifx, angles, angleAmp ...

  9. XiiPitchCircle Quark

    ... { i.asString}, {notes@j }); noteLabel = notes@j; Pen.stringAtPoint( noteLabel, Polar.new(radius * 0.75, 1.5pi + ((2pi/steps) * j)).asPoint ); }); Pen.translate(centre*0.05, centre * 0.07); // adjust back to centred // Draw the lines steps. ...

  10. Complex Help

    ... e in radians. theta Answer the angle in radians. asPoint Convert to a Point . asPolar Convert to a Polar asInteger Answer real part as Integer . asFloat Answer real part as Float . // example a = Complex (0, 1); a * a; // returns Complex(-1 ...

prev 11 12 13 14 15 16 17 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow