-
... <maxVelocity, workingMaxVelocity, <minSpace, targets, obstacles; var <bounds, <wrap, <sd; *new {|numBoids = 10, timestep = 0.5, centerInstinct = 1, innerDistance = 1, matchVelocity = 1| ^super.newCopyArgs(numBoids, timestep, centerInstinct ...
-
... <maxVelocity, workingMaxVelocity, <minSpace, targets, obstacles; var <bounds, <wrap, <sd; *new {|numBoids = 10, timestep = 0.5, centerInstinct = 1, innerDistance = 1, matchVelocity = 1| ^super.newCopyArgs(numBoids, timestep, centerInstinct ...
-
... de; \off: no looping (will stay at end value after completing) \loop: (default) wrap around between lo and hi \backwards: loop backwards \alternate: move back and forth between lo and hi \back_at_end: move back at the end of the current UPa ...
-
... de; \off: no looping (will stay at end value after completing) \loop: (default) wrap around between lo and hi \backwards: loop backwards \alternate: move back and forth between lo and hi The 'lo' and 'hi' arg ranges are mapped to that of th ...
-
... nlin(0,1,height,0) ); (history.size).do({ |item, i| Pen.lineTo( (i+1) @ history.wrapAt(pos+i).linlin(0,1,height,0) ); }); Pen.lineTo( history.size @ height ); Pen.lineTo( 0 @ height ); if( history.any(_ >= 1) ) { Pen.color = Color.red }; if ...
-
... (default): clip values outside fromRange 'fold': fold values outside fromRange 'wrap': wrap around values outside fromRange 'none': no clipping applied (values can go outside toRange) clipSoftness: softens the edges of 'clip' and 'fold' mod ...
-
... rentWeights[index]; runningsum < rnd }; }); } } // deprecated; Pslide now has a wrap flag PslideNoWrap : Pslide { // false = do not wrap at end *new { |list, repeats, len, step, start| ^super.new(list, repeats, len, step, start, false) } } ...
-
... ar( freq: freq, phase: (Sweep.ar(trig: gate, rate: 2pi * [52.8, 740]) + (pi/3)).wrap(-pi, pi), mul: [2, 0.05] ).mean.tanh; snd = snd * env; Out.ar(out, Pan2.ar(snd, pan)); }).add; ) // 740 / 52.8 // 52.8 * 14.01515 // Synth("ikedaBass") ( P ...
-
... a triad of ratios start - The index in the lattice row in which to start. This wraps if need be. orientation - Use true for utonality or false for otonailty. The triad is computed in regards to the base. // Example l = Lattice .new([2, 5, ...
-
... t, { |unit, points, loop = \loop| { var current = 0, direction = 1; points.next.wrapAt( current ).yield; inf.do { |i| var pointsNext, size = 0; current = current + direction; pointsNext = points.next; if( pointsNext.notNil ) { size = points ...