Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (6) Doc (245) Help (16) Quark (266) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. 025-barycenter Quark

    ... world.contain(~objA); world.contain(~objB); bary= ~objA.barycenter(~objB); //--render Pen.strokeColor= Color.magenta; Pen.strokeOval(Rect.aboutRedObject2D(~objA)); Pen.strokeColor= Color.cyan; Pen.strokeOval(Rect.aboutRedObject2D(~objB)); ...

  2. 034-wave-system Doc

    ... or2D[0, sys.wave.wrapAt(i)]); }; //sys.addForce(world.gravity); sys.update; //--render Pen.fillColor= Color.grey(1, 0.5); //Pen.strokeColor= Color.grey(1, 0.5); //Pen.moveTo(sys.objects[0].loc.asPoint); sys.do{|o, i| Pen.fillOval(Rect.about ...

  3. 034-wave-system Quark

    ... or2D[0, sys.wave.wrapAt(i)]); }; //sys.addForce(world.gravity); sys.update; //--render Pen.fillColor= Color.grey(1, 0.5); //Pen.strokeColor= Color.grey(1, 0.5); //Pen.moveTo(sys.objects[0].loc.asPoint); sys.do{|o, i| Pen.fillOval(Rect.about ...

  4. ChuckHacking Quark

    ... thod is required in a process prototype: asPattern . The job of a process is to render itself as an event pattern to be played by the bound process (BP) container. Thus, a simple, single-purpose process prototype could be written as briefly ...

  5. ChuckHacking Quark

    ... thod is required in a process prototype: asPattern . The job of a process is to render itself as an event pattern to be played by the bound process (BP) container. Thus, a simple, single-purpose process prototype could be written as briefly ...

  6. BinAmbi3O Doc

    ... MouseY.kr(-pi, pi)) }; ~bin = { BinAmbi3O.ar(~enc.ar) }; ~bin.play // a second rendering engine for different output chans ~bin2 = { BinAmbi3O.ar(~enc.ar) }; ~bin2.playN([2, 3]); ProxyMixer(p); p.pop ⧉ ✔ helpfile source: /tmp/scquark_hs/Am ...

  7. 036-wave-phase Doc

    ... d.objects.do{|o, i| o.addForce(world.gravity); o.update; world.contain(o)}; //--render Pen.fillColor= Color.blue(1, 0.5); Pen.width= 3; world.objects.do{|o, i| Pen.fillOval(Rect.aboutRedVector2D(o.loc, i.linexp(0, n, 1, n)+5)); }; }; w.play ...

  8. 036-wave-phase Quark

    ... d.objects.do{|o, i| o.addForce(world.gravity); o.update; world.contain(o)}; //--render Pen.fillColor= Color.blue(1, 0.5); Pen.width= 3; world.objects.do{|o, i| Pen.fillOval(Rect.aboutRedVector2D(o.loc, i.linexp(0, n, 1, n)+5)); }; }; w.play ...

  9. SCImage Doc

    ... free scalesWhenResized url accelerated interpolation saving and archiving write rendering plot lockFocus unlockFocus draw drawStringAtPoint drawAtPoint drawInRect tileInRect Instance Methods / accessing and setting pixels setPixel getPixel ...

  10. SATIE-Basics Doc

    ... possible listeners: ~satieConfiguration.spatializers.keys; // instantiate SATIE renderer and pass it the configuration ~satie = Satie.new(~satieConfiguration); ~satie.waitForBoot({ // display some information s.meter; s.makeGui; s.plotTree; ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow