Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. VisualRepresentation Quark

    VisualRepresentation : EntityRepresentation { var >color, >collisionColor; var <penWidth = 1.5, <>shape = 0; *new { arg repManager, collisionFunc, color, collisionColor; ^super.new(repManager, collisionFunc) .color_(color) .collisionColor_( ...

  2. Generating Graphics and Music From The Dragon Curve by 56228375 (56228375) Code

    ... twice with some randomness yields a kind of 2-voiced minimal music.This code depends on the Panola quark and the LSystem quark. Install them with Quarks.install("https://github.com/shimpe/panola"); and Quarks.install("https://github.com/s ...

  3. XiiMic Quark

    ... var outbus, inbus, selected; // temp vars var myVol; // var ateFunc; // what happens when predator eats from the prey // var myBuffer, myBufNum, myBufferName, poolnum, biteFlag; // var poolnum, bufferindex, myVol; // var <>selected, sampleN ...

  4. SoundIn Quark

    ... xPlaysOnBus({chan.source.bus}) ) ]; MxUnit(chan,inlets,outlets); }, draw: { arg pen,bounds,style; ~source.fader.draw(pen,bounds,style) } ));

  5. OSCMon Quark

    ... racks); trackYCenters = addresses.collect { |addr, i| i + 0.5 * trackHeight; }; Pen.scale(*rescale); // addr info: addresses.do { |addr, i| var trackYTop = i * trackHeight; var nickname = anaDict[\nicknames][addr] ? ""; var addrString = "%\ ...

  6. SCDrawServer Quark

    ... (msg[1]); ndict = dict; perc = msg[2]; view.drawFunc = { if(msg[1] == \clear, { Pen.fillColor = bgcolor; Pen.fillRect(bounds); }); func.value(perc, ndict); }; { view.refresh; }.defer; } addToQueue2 { arg msg; var dict; //msg.postln; if(msg[ ...

  7. 230-3Dpoint Doc

    ... 3]; point.update; //--render point.render(1, 300); //1= exaggerate, 2= standard Pen.translate(width*0.5, height*0.5); Pen.fillColor= Color.white; point.draw(12); //dotSize }; w.play; CmdPeriod.doOnce({w.close}); )

  8. 230-3Dpoint Quark

    ... 3]; point.update; //--render point.render(1, 300); //1= exaggerate, 2= standard Pen.translate(width*0.5, height*0.5); Pen.fillColor= Color.white; point.draw(12); //dotSize }; w.play; CmdPeriod.doOnce({w.close}); )

  9. 036-wave-phase Doc

    ... ts.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; CmdPe ...

  10. 036-wave-phase Quark

    ... ts.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; CmdPe ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow