-
// Step 3: GUI actions that know their source. `view.srcAction = {...}` sets the // action like `view.action = {...}`, but runs it with the view's source: // \menu for PopUpMenus and lists and \button for buttons (posted on radpost), // \gu ...
-
... round= Color.white; win.drawFunc= { var wb= win.bounds; var ub= usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.black; Pen.stringAtPoint("FFT Plot", Point(10, 10), f0); Pen.push; Pen.translate(ub.left, ub.bottom); Pen.stringAtP ...
-
... h) start fixed (default: 0) end fixed (default: 1) dur fixed. integer number of steps to reach end (default: 1) mul (default: 1) add (default: 0) length number of values produced (default: inf) // example s.boot; a= Pbind ( \dur , 1/3, \leg ...
-
... t update messages whenever the position changes. the gui can check the previous step in order to reset the last highlighted position on the gui */ Position { var <current=0,<previous=0; value { ^current } value_ { arg val; previous = curren ...
-
... t update messages whenever the position changes. the gui can check the previous step in order to reset the last highlighted position on the gui */ Position { var <current=0, <previous=0; value { ^current } value_ { arg val; previous = curre ...
-
... h) start fixed (default: 1) end fixed (default: 2) dur fixed. integer number of steps to reach end (default: 1) mul (default: 1) add (default: 0) length number of values produced (default: inf) // example s.boot; a= Pbind ( \dur , 1/3, \leg ...
-
... .new.initTraerEulerIntegrator(s); } initTraerEulerIntegrator {|argS| s= argS; } step {|t| s.clearForces; s.applyForces; s.numberOfParticles.do{|i| var p= s.getParticle(i); if(p.isFree, { p.velocity.add(TraerVector3D(p.force.x/(p.mass*t), p. ...
-
... ^super.new.init } init { var hidInfo; var vel; velSpec = ControlSpec(128, -128, step: 1); hidInfo = GeneralHID.findBy( 1917, 1040); powerMate = GeneralHID.open( hidInfo ); powerMate.slots[3][51].action_( { |v| // factor 0.069 assures that s ...
-
... indices = indices.add(i) }); }); ^indices } detectIndexFrom { |func, start = 0, step = 1| var index = start; { index.inclusivelyBetween(0, this.size-1) and: { func.(this[index]).not } } .while { index = index + step; }; index.inclusivelyBet ...
-
... t, Fifth Floor, Boston, MA 02110-1301, USA. */ Fb1_ODEintdef { // container for stepper Functions representing numeric ODE solvers // composition of stepper with ODE Function gives the Function to be used within Fb1 classvar all, initKeys; ...