Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... adient noise devised by Ken Perlin, and commonly used to add texture to objects rendered in computer graphics. It is deterministic: for a given input co-ordinate it always returns the same output value. To make audible noise you will typica ...

  2. CutFunc Quark

    ... nction called at Cut, Block or Phrase, function is placed in an Event for later rendering, via BBCutBlock and clock CutFunc : CutSynth { var <>cutfunc, <>blockfunc, <>phrasefunc, <>compensate; *new { arg cutfunc, blockfunc, phrasefunc, comp ...

  3. 121-collision_boids Doc

    ... |oo| o.collide(oo)}; //faster but less accurate o.update; world.contain(o); //--render Pen.fillColor= Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  4. 121-collision_boids Quark

    ... |oo| o.collide(oo)}; //faster but less accurate o.update; world.contain(o); //--render Pen.fillColor= Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  5. 131-obstacle_rocks Doc

    ... )}; o.update; //object update world.contain(o); //keep within world borders //--render if(o.isKindOf(RedRock), { Pen.fillColor= Color.blue(1, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }, { Pen.strokeColor= Color.grey(0.7, 0.9); Pen.stro ...

  6. 131-obstacle_rocks Quark

    ... )}; o.update; //object update world.contain(o); //keep within world borders //--render if(o.isKindOf(RedRock), { Pen.fillColor= Color.blue(1, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }, { Pen.strokeColor= Color.grey(0.7, 0.9); Pen.stro ...

  7. NB_Tests Quark

    ... 0, 10, 100, 100); n.fill(1, 1, 1); n.text( "This is the 3rd test" , 10, 140); n.render ) // then, in SuperCollider (this should show, in the Post window, that a "test3.png" file is in /tmp "ls /tmp/" .unixCmd // assuming the "test3.png" fil ...

  8. Wave Field Synthesis by miguelnegrao (miguel.negrao) Code

    A simple synthdef for Wave Field Synthesis rendering. /* The basic principles of WFS are very simple: 1 - calculate distance from virtual source to each speaker. 2 - calculate time that sound takes to travel that distance t = ...

  9. 050-boids Doc

    ... .addForce(world.gravity); //no gravity involved o.update; world.contain(o); //--render Pen.fillColor= Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  10. CutProcStream Doc

    ... ns- not good for live interaction and beat induction in this case, but fine for rendering at server latency arms length. t=TempoClock(2.4); Pbindf(CutProcStream(WarpCutProc1.new),\sustain,0.01,\freq,Pfunc({arg event; (event[\cutnum]*50) + 2 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow