-
... 0, 50); }.dup(n); //world,loc,vel,acc,mass,size boxes= {Red3DBox()}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.fillColor= Color.green(1, 0.25); world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; boxes[i].rotation= RedVe ...
-
... }).add; ) ( a = Pser([Pser(#[60, 61, 63, 65, 72], 3)], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.2.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pser.sche ...
-
... trol EZSlider(w, 340@30, \knowsLast, \freq, Routine { |sl| var newVal, lastVal; loop { newVal = sl.value; Ndef(\test).softSet(\freq, newVal, 0.05, lastVal: lastVal); lastVal = newVal; \dummy.yield; } }); // same for volume - not too safe EZ ...
-
... ass,size lines= {|i| Red3DLine(RedVector3D[0, i+1/n-0.5, 0], 1.75)}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; lines[i].rotation= RedVector3D[thetas[i], thetas[i]/2+1, thet ...
-
... 2| var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(LocalBuf(2048), in); chain = PV_MagNoise(chain); Out.ar(out, 0.2 * IFFT(chain).dup); }).play(s, [\soundBufnum, b]); ) b.free; ⧉ ✔ helpfile ...
-
... why and when you inspected the object. Especially useful if calling during fast loops. guiInstead boolean: rather than create an ObjectInsp, just .gui the object Inherited class methods Instance Methods Inherited instance methods helpfile s ...
-
... d; ) ( a = Pn(Pshuf(#[60, 60, 60, 61, 63, 65, 72], 4), inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.15.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pshuf.sc ...
-
... of GMListPianoRoll , GMDuoSequencer and GMFaderMultiSlider is used to control a looping pattern. Those classes all manipulates an array of datas, in which every index corresponds to a particular beat. Similarly, they all implement an highli ...
-
... .dup(n); {RedRock(world, RedVector2D[width.rand, height].rand)}.dup(rocks); //--loop w.draw{ Pen.width= 1; world.objects.do{|o, i| //iterate all objects in this world o.addForce(o.world.gravity); //add gravity world.objects.copyToEnd(i+1).d ...
-
... _(0.25.coin.binaryValue); //world,loc,vel,acc,mass,size }.dup(n); }.dup(n); //--loop w.draw{ var counts= world.objects.collect{|o| world.neighbours(o).sum{|oo| oo.state} }; world.objects.do{|o, i| if(o.state==1, { Pen.addRect(Rect(o.loc[0]* ...