Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. 007-single-3d Quark

    ... ect(world, loc, vel, acc, 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; world.objects.do{|o| o.addForce(o.world.gravity); o.update; world.contain(o); //Pen.addRect(Rect.aboutPoint(o.loc.asP ...

  2. 172-springs_chain Quark

    ... pring(obj, t, 0.4, 0.5, 8); //object, target, stiffness, damping, length }; //--loop w.draw{ if(mp!=w.mouse, { //keeps target in middle if no mouse input trg.loc= w.mouse; }); sprs.do{|spr| spr.update; //--render springs Pen.strokeColor= Co ...

  3. shared_buffer Quark

    ... e: a soundfile object of which the buffer will be shared. Note: the 'rate' and 'loop' settings of the soundfile are ignored, and can be set separately in the corresponding shared_buffer_in UMaps. id: the id (0-99) by which the buffer can be ...

  4. shared_buffer Quark

    ... e: a soundfile object of which the buffer will be shared. Note: the 'rate' and 'loop' settings of the soundfile are ignored, and can be set separately in the corresponding shared_buffer_in UMaps. id: the id (0-99) by which the buffer can be ...

  5. waveFolder Quark

    ... sin(x) as a transfer function, so I included a phase offset (which makes a full loop around the circle as it goes from 0 to 1). It adds subtle timbral changes, but not much. By Josh Mitchell 2/20. */ SynthDef("waveFolder", { arg //Standard ...

  6. InfluxKtlGui Quark

    ... otV, <leftButtonV, <rightButtonV; var <attachButtons, <xpop, <ypop, <xySlider, <loopGui; var <xyMapDict; *new { |object, numItems = 5, parent, bounds, makeSkip = true, options = #[]| ^super.new(nil, numItems, parent, bounds, makeSkip, optio ...

  7. InfluxKtlGui Quark

    ... otV, <leftButtonV, <rightButtonV; var <attachButtons, <xpop, <ypop, <xySlider, <loopGui; var <xyMapDict; *new { |object, numItems = 5, parent, bounds, makeSkip = true, options = #[]| ^super.new(nil, numItems, parent, bounds, makeSkip, optio ...

  8. 190-kmeans Quark

    ... c,vel,acc,mass,size }.dup(n); kmeans= RedKMeans(~k, 10); //cluster analyser //--loop w.draw{ var colors= {|i| Color.hsv(i/~k, 1, 1)}.dup(~k); kmeans.k= ~k; kmeans.update(world.objects.collect{|o| o.loc}); world.objects.do{|o, i| var index= ...

  9. ddwOSCSyncClocks Quark

    ... thread = Routine { // var testStream = Pseq([Pn(0, 200), Pn(1, inf)]).asStream; loop { // randomized sync times, to avoid contention at integer valued beats // stealing this idea from Scott Wilson's BeaconClock ((rrand(0.25, 0.75) + rrand(0 ...

  10. SWGeneralHID Quark

    ... Example - x = SWDataNetwork .new; // build the device list and start the event loop: GeneralHID .buildDeviceList; GeneralHID .startEventLoop; // find an Impact game device and open it: a = GeneralHID .open( GeneralHID .findBy( 1973 ) ); // ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow