-
... back Pdef(\x, Pseq(~recording)).play; Pdef(\x, Pseq(~recording, inf)).play; // looped // mess with it Pdef(\x, Pdict(~recording, Pseq([0, 4, 5] + 100, inf) % ~recording.size)).play; Pdef(\x, Pdict(~recording, Pseq((0..50) + 7, inf) % ~reco ...
-
... e.rand; while { history.includes( index ) && { count < 1000 }; } // prevent inf loop { index = size.rand; count = count + 1 }; item = list.at(index); history = ([ index ] ++ history)[..(histSizeStr.next(inval))-1]; inval = item.embedInStrea ...
-
... el: \fwd, midiNum: [50,105].at(lyr), style: ( row: 7, column: 10 ) ) ), ( key: \loop, shared: ( label: \loop, midiNum: [51,106].at(lyr), style: ( row: 8, column: 9 ) ) ), ( key: \rec, shared: ( label: \rec, midiNum: [52, 107].at(lyr), style ...
-
... rr, nn; thisThread.randSeed = seed.next.asControlInput; arr = (..n-1).scramble; loop { index = arr.removeAt( histSize.next.asInteger rrand: (n-1).asInteger ); arr = arr.addFirst( index ); vals.at( index ).yield; }; }.r }, addToAll: false ) ...
-
... s*(vec[1]-vec[0]), vec[0]*(r-vec[2])-vec[1], vec[0]*vec[1]-(b*vec[2]) ] }; //--loop w.draw{ obj.vel= lorenz.value(obj.loc, ~sigma, ~rho, ~beta); obj.update; //--render Pen.fillColor= Color.grey((obj.loc[2]/(depth*0.5)).clip(0, 1)); Pen.fil ...
-
... Paccumbounce (-1.0, 1.0, Pwhite (-0.05, 0.1, inf ), inf ).asStream; r = fork { loop { p.next.postln; 0.1.wait } }; r.stop; p.reset; p.nextN(200).plot;
-
... quit. This Class saved me a *lot* of work, especially with those nasty infinite loops one sometimes gets when coding. It is wise to put a line "AutoBackup.start" in your startup.rtf file. Backups are saved as .sc files, named after the titl ...
-
... ,mass,size att= RedHiddenObject(world, RedVector[0, 0]); //hidden attractor //--loop w.draw{ att.loc= w.mouse; Pen.fillColor= Color.grey(1, 0.5); Pen.strokeColor= Color.white; world.objects.do{|o, i| var xy; var trg= o.addForceWander1D; o.a ...
-
... Paccumbounce (-1.0, 1.0, Pwhite (-0.05, 0.1, inf ), inf ).asStream; r = fork { loop { p.next.postln; 0.1.wait } }; r.stop; p.reset; p.nextN(200).plot;
-
... r3D[2, 2, 2].rand2, mass, mass*10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.strokeColor= Color.grey(0.5); Pen.strokeRect(Rect.aboutRedVector3D(RedVector[width*0.5, height*0.5, depth], width*0.5, width, height, depth, s, ...