Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1703) Code (71) Doc (521) Help (167) Quark (932) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. PolyLine Quark

    PolyLine { var <>points; *new { | ... points| points = points.collect( _.asPoint ); ^super.newCopyArgs( points ); } size { ^points.size } add { |item| ^this.class.new( *(points.add( item.asPoint ) ) ); } addAll { |... items| ^this.class.new ...

  2. XiiAlert Quark

    ... nitXiiAlert {arg message; var a, p, b, str; xiigui = nil; p = [ // the ixi logo Point(1,7), Point(8, 1), Point(15,1), Point(15,33),Point(24, 23), Point(15,14), Point(15,1), Point(23,1),Point(34,13), Point(45,1), Point(61,1), Point(66,6), Po ...

  3. turtle Quark

    Turtle { var rad; var isDraw; var <points; *new { ^super.new.init; } init{ points = [(0@0)]; rad = 0; isDraw = [false]; } to {arg point; points = points.add(point); isDraw = isDraw.add(isDraw.last) } turnTo{|argRad| rad = argRad; } turn{|re ...

  4. XixiWorm Quark

    XixiWorm { var <>point, destpoint, size, rect, stageRect; var taillength; var <>tailArray; var move, oldpoint; var <>auto, <>boundaries; var wanderCircleDistance, wanderCircleRadius, wanderCircleAngle; var xOffset, yOffset; var <>tailcolor; ...

  5. mirror_point Quark

    /* \mirror_point Creates an UMap intended that mirrors a point across a line. This can be used for example for creating early reflection positions. point: the point to rotate (can be an UMap) plane: the line/plane across which the point is ...

  6. EaseGallery Quark

    ... .fillColor= Color.black; Pen.stringCenteredIn(class.name.asString++argStr, rect-Point(0, boxHeight/2)); Pen.fillColor= Color.blue; //data line colour arr.do{|y, x| y= class.value(y, *arguments); //easing Pen.fillRect(Rect.aboutPoint(Point(x ...

  7. extEnv-asSVGFile Quark

    ... = 400, height = 200, name, strokeColor, fillColor, strokeWidth, transform| var points, lastTime = 0; points = [this.timeLine, levels.copy]; points[0] = (points[0] / this.duration) * width; points[1] = points[1].normalize(height,0); // upsi ...

  8. shapetools Quark

    + Rect { radiusH {^width/2} radiusH_ { |dx| ^this.class.aboutPoint(this.center, dx, height/2)} radiusV {^height/2} radiusV_ { |dy| ^this.class.aboutPoint(this.center, width/2, dy)} centerTop {^Point.new(left + (width/2), top) } centerTop_ { ...

  9. BezierSpline Doc

    BezierSpline: Filter: Description Class methods new fromPoints Inherited class methods Instance methods interpolate createPoint createControlPoint controlPoints deletePoint deleteControlPoint isLinear ++ guiClass linear quadratic cubic ntic ...

  10. sample_and_hold_point Quark

    /* \sample_and_hold_point This UMap implements sample-and-hold process for points. Every time a trigger is received the output point becomes the input point of that moment. point: the point or point UMap to sample trigger: the trigger time: ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow