Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. 053-boids_1d Quark

    ... tance_(mass).wchange_(0.5).wradius_(mass*5); }.dup(n); //world,loc,vel,acc,mass,size att= RedHiddenObject(world, RedVector[0, 0]); //hidden attractor //--loop w.draw{ att.loc= w.mouse; Pen.fillColor= Color.grey(1, 0.5); Pen.strokeColor= Col ...

  2. GMGridButton Quark

    ... useDownEvent, false); this.drawFunc_({ this.draw }); this.action_({}); this.onResize_( FunctionList() .addFunc({ this.prResizeSVGs; }) ); this.onClose_( FunctionList() .addFunc({ this.free; }) ); thisStates = [ ( string: "I", color: Color.g ...

  3. Sieve Quark

    ... } plot { this.copy.toIntervals.list.as(Array).plot.plotMode_(\plines).refresh } size { ^list.size } // conversions change receiver toIntervals { var offset; (mode == \points).if { offset = (list.size != 0).if { list.first }; this.miSC_setLi ...

  4. List Doc

    List: Filter: Description Size limitations of arrays and flexibility of lists in SuperCollider Class methods new newClear copyInstance newUsing Inherited class methods Instance methods asArray array array at clipAt wrapAt foldAt put clipPut ...

  5. PbindMod Quark

    ... r sawNil = false; var streampairs = patternpairs.copy; var endval = streampairs.size - 1; streampairs.pairsDo({ |key, pat, i| streampairs[i+1] = pat /*.trace(prefix: key.asString ++ ": ")*/ .asStream; }); loop { if (inevent.isNil) { ^nil.yi ...

  6. PbindMod Quark

    ... r sawNil = false; var streampairs = patternpairs.copy; var endval = streampairs.size - 1; streampairs.pairsDo({ |key, pat, i| streampairs[i+1] = pat /*.trace(prefix: key.asString ++ ": ")*/ .asStream; }); loop { if (inevent.isNil) { ^nil.yi ...

  7. SensorData Quark

    ... ngAverage2) + ( (1-maFactor2)*newval ); data = data.addFirst(newval); if ( data.size > ltlen, { data.pop( data.size - ltlen ); }); crossIDon = crossIDon + 1; crossIDoff = crossIDoff + 1; lastPeak[1] = lastPeak[1] + 1; if ( peaks.size > 0, { ...

  8. EnvView Quark

    ... ive = true; var <selected; var <selectedLine; var <>font, <>viewHeight = 14, <resize = 5; var <min = 0, <max = 1; var <showLegend = true; var <>action; var <>editMode = \move; var <>fixedDuration = true; var hitPoint; *new { |parent, bounds ...

  9. GMMultiButton Quark

    ... = false; var thisAllowMouseMove = true; var thisFontRatio = 0.4; var thisMaxFontSize = 64; var thisUnselectedRatio = 0.8; var thisDrawSelected = true; var thisAltIndex = nil; var thisDisplayAltValue = true; var thisSVGRatio = 0.8; *new { ^s ...

  10. ExtraWindows Doc

    ... s code below to display an interface to compare between different windows ( var size = 2048; var drawnSize = (size/32).asInteger; // 16th of bandwidth var minDb = -120.0; // minimum dB to display var genCol = Signal.listOfWindows.size.colle ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow