-
... ision ) ); }, \angle, { current = current.collect({ |pt| pt.angle = (pt.angle / pi * 180).round( precision ) / 180 * pi; }); }, \distance, { current = current.collect({ |pt| pt.rho = pt.rho.round( precision ); }); }, ); path.positions = cur ...
-
... ion = \flu, numDirs = 25| ^switch(group, \axis, { // axis directions [ [0, 0], [pi/2, 0], [0, pi/2], // +X, +Y, +Z [pi/2, 0], [-pi/2, 0], [0, -pi/2] // -X, -Y, -Z ] }, \tetra, { // tetrahedral directions FoaDecoderMatrix.newBtoA(orientation ...
-
... item| b = b.add(item.reverse) }); ~panArr = [Array.panDis(~arr.size, ~arr.size)*pi, b.flat * pi].flop; n.redefine(~arr, \panB, ~panArr, 4); //start a new system n.redefine(~arr, \panB, ~panArr, 8); //start a new system n.redefine(~arr, \pan ...
-
... or = Color.black; } { thisCurrentBackgroundColor = Color( sin(this.frame / 60 * pi).abs, sin(this.frame / 60 * pi).abs, sin(this.frame / 60 * pi).abs ); }; // super.drawFrame "override hack" super.drawFrame; Pen.fillColor_(thisCurrentBackgr ...
-
... he point to rotate (can be an UMap) rotate: the amount of rotation in degrees (-pi - pi) scale: a scale amount (0.25 - 4) -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ UMapDef( \rotate_point, { |point = ...
-
... yValue * 2 - 1 ); // limit distance to 1m angles = atan2( dify, adifx ).wrap(0.5pi,1.5pi) + (angle - direction); sines = sines / sines.abs.sum.max(1e-12); // normalize abs sum of sines angleAmplitudes = angles.collect({ |angle| sines[0] + s ...
-
//redFrik - only two overlapping windows RedEfxPch2 : RedEffectModule { *def {|lag= 0| ^SynthDef(\redEfxPch2, {|out= 0, mix= -1, ratio= 4| var dry, wet, phasor1, phasor2, read1, read2, window1, window2; var windowDur= 0.1; dry= In.ar(out, 2 ...
-
... , { newPoles.do({ arg pole; if(pole.isKindOf(Polar), { angle = pole.angle.wrap(-pi, pi); poles = poles.add(Polar.new(pole.magnitude, angle)); //Post a warning if the new pole magnitude is > 1.0 if(pole.magnitude > 1.0, { "Pole magnitude is ...
-
... w frequency sine wave oscillator. freq: the frequency of the sine wave phase: (-pi - pi) the start phase of the sine wave (can be modulated) range: the output range The 'range' arg range is mapped to that of the parameter to which the UMap ...
-
... w frequency sine wave oscillator. freq: the frequency of the sine wave phase: (-pi - pi) the start phase of the sine wave (can be modulated) range: the output range The 'range' arg range is mapped to that of the parameter to which the UMap ...