-
... 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 ...
-
... 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 ...
-
... |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}); )
-
... |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}); )
-
... )}; 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 ...
-
... )}; 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 ...
-
... 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 ...
-
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 = ...
-
... .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}); )
-
... 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 ...