-
... nexp(0,1,110,1000), \freq, Pwrand( [ 55, 110, 220 ], [ 0.1, 0.8, 0.1 ], inf ), \point, Pwhite( (-20.0 @ -20.0), (20.0 @ 20.0) ), \track, Pseq( (0..7), inf ) ); z = y.play( protoEvent: x.asProtoEvent ); /* y.asUScore( x ).gui; // generate a ...
-
... fLife WFSCollider. If not, see <http://www.gnu.org/licenses/>. */ WFSPath2 : WFSPointGroup { var >times; var <type = \bspline; // \bspline, \cubic, \linear (future; add \quad, \step?) var <>curve = 1; // curve = 1: hermite var <clipMode = ' ...
-
... Pen.color = Color.red(0.5, 0.5); conf.arrayConfs.do({ |arrayConf| arrayConf.subPoints.do({ |item| //Pen.scale(scale,scale.neg); Pen.addRect( Rect.aboutPoint( item + Polar(0.3, arrayConf.angle).asPoint, 0.3, 0.3) ); Pen.fill; }); }); }; Pen ...
-
... , { updateCentroid.value; }); Pen.color= Color.black; Pen.width= 2; Pen.stringAtPoint(""++physics.numberOfParticles+"PARTICLES", Point(10, 20)); Pen.stringAtPoint(""++frameRate.round(0.1)+"FPS", Point(10, 40)); Pen.translate(width/2, height ...
-
... grey]]) .font_(GUI.font.new("Helvetica", 10)) .action_({ eq.postln }); origin = Point(10, 60); bandguis = eq.spec.collect({ arg sp; newgui = EQBandGUI.new(origin, sp, this); origin = origin + Point(0, EQBandGUI.bandSize.y + 20); newgui.upda ...
-
... grey]]) .font_(GUI.font.new("Helvetica", 10)) .action_({ eq.postln }); origin = Point(10, 60); bandguis = eq.spec.collect({ arg sp; newgui = EQBandGUI.new(origin, sp, this); origin = origin + Point(0, EQBandGUI.bandSize.y + 20); newgui.upda ...
-
... extFields.do({ |nf| fields.put(nf, ()); fields[nf].cmdName = StaticText(window, Point(390, 20)) .background_(Color(1.0, 1.0, 1.0, 0.5)) ; if (cmds[nf] == 1, { fields[nf].cmdName.string_(nf.asString+"("++cmds[nf]+"slot)"); }, { fields[nf].cm ...
-
... pec.unmap(j)],0) }); ^ScalarField({ |vector| var grain, indexX,indexY,xdiv,ydiv,points,xmod,ymod,xmodbool,ymodbool,normal,x,y; #x,y = vector; grain = 1/(n-1); xmod = x.mod(grain); ymod = y.mod(grain); indexX = spec.map(x).asInteger; indexY ...
-
... massEdit { |inArray, params| ^params; } } WFSMultiPathSpec : Spec { // array of points instead of a single point var <>default; *new { |default| ^super.new.default_( default ); } *testObject { |obj| ^obj.isCollection && { obj[0].class == WF ...
-
/* \x_y Creates an UMap intended for use on modulatable point parameters. It converts the point into two linear controls for x and y, which on their turn can be used to assign other UMaps to. x: the x value y: the y value The 'x' and 'y' ar ...