-
... = Color.red w.draw{Pen.fillColor= Color.black; Pen.fillOval(Rect.aboutPoint(175.rand@175.rand, 50, 50))} w.play //start drawing w.stop ( //mouse control w.draw{ var radius= 100.rand; Pen.fillColor= Color.blue(0.5, radius/100); Pen.fillOval( ...
-
... Out.ar(out, signal); }).add; ) a = Synth('help-dynKlank'); a.setn(\freqs, Array.rand(4, 500, 2000)); a.setn(\ringtimes, Array.rand(4, 0.2, 4)); a.setn(\ringtimes, Array.rand(4, 0.02, 0.4)); // create multichannel controls directly with lite ...
-
... ver PARAM *5000 samples (ie down to about 10 Hz, sampling rate dependent) 1 new random breakpoint from PARAM.rand2 2 new breakpoint by perturbing last breakpoint amp by PARAM 3 new breakpoint by interpolating from last breakpoint amp to its ...
-
... 0.5); //--add new particles and update old sys.add(RedParticle(world, w.mouse+5.rand2, 0, RedVector2D[2.rand2, 10.rand], 1.5, 5.rand).age_(40.rrand(50))); sys.addForce(world.gravity); sys.update; //--render sys.do{|o| //iterate all particle ...
-
... = Color.red w.draw{Pen.fillColor= Color.black; Pen.fillOval(Rect.aboutPoint(175.rand@175.rand, 50, 50))} w.play //start drawing w.stop ( //mouse control w.draw{ var radius= 100.rand; Pen.fillColor= Color.blue(0.5, radius/100); Pen.fillOval( ...
-
... ibi (-1, -0.75 .. 1).biuni; (-1, -0.75 .. 1).biuni(0.01).round(0.001); f = { 10.rand * 0.1 }.unibi; f.value; f = { 10.rand * 0.1 }.unibi(0.01); f.value.round(0.001); f = { 10.rand2 * 0.1 }.biuni; f.value; f = { 10.rand2 * 0.1 }.unibi(0.01); ...
-
... ).port_(57120); // now send osc values NetAddr.localAddr.sendMsg('/accxyz', 3.0.rand2, 3.0.rand2, 3.0.rand2); // test setting the collective value directly: t.collectivesDict[\accel].value = [1.0.rand, 1.0.rand, 1.0.rand ]; // see the desc ...
-
... e. the crossfade envelope is created internally. ~out = { SinOsc.ar([443, 600 - Rand(0,200)], 0, 0.2) }; ~out = { Resonz.ar(Saw.ar(40 + [0,0.2], 1), [1200, 1600], 0.1) + SinOsc.ar(60 * [1,1.1],0,0.2) }; ~out = { Pan2.ar(PinkNoise.ar(0.1), L ...
-
... the bar's index to a shade number (numbers 1 through 8). LaTeX.barChart({100.0.rand}.dup(10).collect{|item, index| (("Item"+index) -> item) }, precision: 3); LaTeX.barChart({100.0.rand}.dup(10).collect{|item, index| (("Item"+index) -> item ...
-
... source a = DragBoth(w, Rect(10, 10, 150, 20)).align_(\center).background_(Color.rand); a.object = "drag us around"; a = DragBoth(w, Rect(10, 10, 150, 20)).align_(\center).background_(Color.rand); a.object = "SUPERCOLLIDER"; 8.do{ a = DragBo ...