-
... fferent ranges on these, accels very low - why? q.addrSC.sendMsg(\imu, * ({ 1.0.rand } ! 9 ++ 100.rand)); */ OSCdef(\imuAlive).enable; /* OSCdef.trace(true, true); q.addrSC.sendMsg(\imuAlive, ); */ /* test buttons from remote: q.addrSC.send ...
-
... ysics= TraerParticleSystem(0.1, 0.2, 0.3, 0.9); num.do{physics.makeParticle(1.5.rand+0.5, width.rand, height.rand, 0)}; anchor= physics.makeParticle(1, width/2, height/2, 0); anchor.makeFixed; springs= physics.particles.do{|p| physics.makeS ...
-
... alpha; "NX304:: El temps és mort".postln; "~nx304 = { var alpha,beta; alpha = TRand.kr(0.1,10,Impulse.kr(Rand(0.01,0.1))); Pan2.ar(LeakDC.ar(Normalizer.ar( BPeakEQ.ar(BPeakEQ.ar(BPeakEQ.ar(BPeakEQ.ar(FreeVerb.ar( RHPF.ar( Pulse.ar(Demand.k ...
-
... 80,130) a.deleteNode(0) a.createNode(122,33) a.setFillColor_( Color .new255(222.rand, 222.rand, 122.rand)); a.setBackgrColor_( Color .new255(120+(122.rand), 120+(122.rand), 120+(122.rand))); a.setNodeColor_(0, Color .white); a.setOutlineCol ...
-
... nil, nil, 0, 1/n*width) .internalCoupling_(0.2/n).coupling_(0.3/n) .freq_(0.01.rand+0.01) .freq2_(0.1.rand+0.05) .phase_(2pi.rand) .phase2_(2pi.rand) .amp_(0.6) .amp2_(0.9) }; //--loop w.draw{ world.objects.do{|o, i| o.couple(world.objects ...
-
... Min = 4000, filterRatio = 0.63; var snd, freqarray, filterfreq; freqarray = [1, Rand(abs(2 - beatingsRatio), 1.0), Rand(beatingsRatio, 1.0)]; filterfreq = XLine.kr( start: Rand(filterMin, filterMax), //With default values, end is within +/- ...
-
... eq=440, amp=0.1, pan=0, gate=1; var z; z = LPF.ar( Mix.new(VarSaw.ar(freq + [0, Rand(-0.4,0.0), Rand(0.0,0.4)], 0, 0.3)), XLine.kr(Rand(4000,5000), Rand(2500,3200), 1) ) * Linen.kr(gate, 0.01, 0.7, 0.3, 2); OffsetOut.ar(out, Pan2.ar(z, pan, ...
-
... grav,maxvel,damp //--objects ~objA= RedObject(world, RedVector2D[width, height].rand, RedVector2D[0, 0], RedVector2D[0, 0], 5, 5); //world,loc,vel,acc,mass,size ~objB= RedObject(world, RedVector2D[width, height].rand, RedVector2D[0, 0], Red ...
-
... h, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--interface ~initSize= {2.0.rand}; //object size at creation ~distance= 1; //collision min distance //--objects - the first one always in the middle RedObject(world, RedVector2D[width*0.5, ...
-
... 0, 0); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; RedPendulum(world, loc, vel, 0, 60.rand, 20.rand) //world,loc,vel,acc,mass,size .theta_(2pi.rand).angularVel_(0.5.ra ...