-
... w= RedWindow("3Dbox", Rect(128, 64, width, height)).front; box= Red3DBox(); //--loop w.draw{ theta= theta+speed; box.rotation= RedVector3D[theta, theta, theta]; box.update; //--render box.render(1, 100); //1= exaggerate, 2= standard Pen.tra ...
-
... ger Extension A 'world' for the entities Location: NOT INSTALLED! See also: Gameloop_Overview Description EntityManager is a 'world' for Entities. When an Entity is created it is added to an EntityManager. the responsibilities of the manage ...
-
... 2; var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(bufnum, in); chain = PV_Compander(chain, MouseX.kr(1, 50), 1.2, 0.25); Out.ar(out, IFFT(chain).dup); }).play(s,[\out, 0, \bufnum, b.bufnum ...
-
... { var dt = 0.04 * { rrand(1, 3) / rrand(3, 7) }.dup.sum; var mul = rrand(2, 5); loop { (instrument: \sinmore2, note: rrand(-3, 10) * mul, octave: 5, amp: 0.01).play; dt.wait; } }).play ); //-- STOP Tdef(\xmoremore).stop; //-- FREE Tdef(\xmo ...
-
... , fade, 1, 'sin').kr; RecordBuf.ar(sig, ~buffer0.bufnum, 0, recLevel, preLevel, loop: 0); }); == radpostcont == (none) >> lt 1 == radpost == Ndef('recblock1', 0) Ndef('block1', {arg rate=1 , triggerRate=1 , startPos=0 , mul=1 ; PlayBuf.ar(~ ...
-
... arg inval; var phase = iphase, outval, stream, dur; stream = pattern.asStream; loop { outval = stream.next(inval); if(outval.isNil) { nil.alwaysYield; ^inval }; outval.use { dur = ~dur; ~gonganPhase = phase; ~sabet = phase + 1; // "beat" ~ ...
-
... percube", Rect(128, 64, width, height)).front; hypercube= Red4DTesseract(); //--loop w.draw{ theta= theta+speed; hypercube.rotation= RedVector[theta, 0, 0, 0, 0, theta]; hypercube.update; //--render hypercube.render(2, 500); //1= exaggerate ...
-
... percube", Rect(128, 64, width, height)).front; hypercube= Red4DTesseract(); //--loop w.draw{ theta= theta+speed; hypercube.rotation= RedVector[theta, 0, 0, 0, 0, theta]; hypercube.update; //--render hypercube.render(2, 500); //1= exaggerate ...
-
... * { rrand(1, 3) / rrand(3, 7) }.dup.sum; var chord = (0..11).scramble.keep(3); loop { (instrument: \sinmore, note: rrand(-3, 3) * chord, octave: 5, amp: 0.01).play; dt.wait; } }.play ); //-- STOP ~xmore.stop; //-- FREE
-
... ar m, p; var cp; // start exponent and base at 2 b = 2; cp = 2.pow(b); // outer loop while({ cp <= this }, { a = 1; c = this; // inner loop while({ (c - a) >= 2 }, { m = (a + c).div(2); p = m.pow(b).min(this + 1).asInteger; // found perfect ...