-
... ormly-distributed data or quasi-gaussian data - will get different performance ~rand = { |n| n.rand }; ~rand = { |n| n.sum3rand }; ~halffillsize = (~num * 2).pow(1/~dims).floor.asInteger; ~array = { {~rand.value(~halffillsize)}.dup(~dims) } ...
-
... ormly-distributed data or quasi-gaussian data - will get different performance ~rand = { |n| n.rand }; ~rand = { |n| n.sum3rand }; ~halffillsize = (~num * 2).pow(1/~dims).floor.asInteger; ~array = { {~rand.value(~halffillsize)}.dup(~dims) } ...
-
... event - prep ( d = d ? (); d.fonts = Font.availableFonts; Font(d.fonts.choose, rrand(12, 72)); d.w = Window("text").front.alwaysOnTop_(true); d.u = UserView(d.w, Rect(0,0,400,400)); d.u.resize = 5; d.w.background_(Color.clear); d.u.addHalo( ...
-
... ({ true }, { if (forcedTimeout, { forcedTimeout = false; bot.prUnwedge; }); (30.rand).wait; bot.connect("bot-%-%".format(i, Main.elapsedTime.round.asInteger)); 1.wait; 10.rand.do({ var msgType = \plain; var off = (~loremIpsum.size - 256).ra ...
-
... p = Painter .new(g, r) ; Routine .new({ 30.do({ arg i ; g.addVertex((100+1000).rand, (100+600).rand, 0, "s" ++(70+i).asString) ; g.addEdge(g.nv-1, g.nv-1, 2.0.rand) ; r.addAndSetup(g.nv-1).start(r.na-1) ; 1.wait }) }).play( SystemClock ) ; ...
-
... vida completa s'acaba".postln; "~nx204 = { var alpha; alpha = Array.series(50,rrand(0.1,2),0.1); alpha = alpha ++ alpha.reverse; Pan2.ar(LeakDC.ar( BPeakEQ.ar(BPeakEQ.ar(BPeakEQ.ar(BPeakEQ.ar(FreeVerb.ar( ( RHPF.ar( Pan2.ar(InFeedback.ar(~ ...
-
... s, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.2.rand2, 0.2.rand2, 0, 0.4); num.do{physics.makeParticle(1, width.rand, height.rand, 0)}; anchor= physics.makeParticle(1, width/2, height/2, 0); anchor.makeFixed; ...
-
... .".postln; " ~nx103 = { var temp,droneevent,droneevent_select; droneevent = [ [rrand(0.001,10.0),rrand(0.001,10.0)], [0.009,0.009] ]; droneevent_select = rrand(1,1); temp = TRand.kr(0.003,0.05,Impulse.kr(1/( droneevent[droneevent_select][0] ...
-
... rParticleSystem(0.1, 0.2, 0.3, 0.1); num.do{|i| physics.makeParticle(0.5, width.rand, height.rand, 0)}; anchor= physics.makeParticle(1, width/2, height/2, 0); anchor.makeFixed; springs= physics.particles.do{|p| physics.makeSpring(p, anchor, ...
-
... ider default sound. freq: frequency (Hz) of the bell amp: amplitude (0-1) seed: random seed (positive whole number). The same seed will always result in exactly the same signal on any computer. -- this is an Udef definition file part of the ...