-
... awImage(Rect(0, 0, width, height), img); }; img.interpolation= \smooth; w.play; CmdPeriod.doOnce({img.free; w.close}); )
-
... mass/12); Pen.fillRect(Rect.aboutPoint(o.loc.asPoint, 0.5, 0.5)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... n.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); ) /* //manual control a.addForceAngular1D(30) a.addForceAngular1D(5) a.addForceAngular1D(-5) a.pendulumOffset1D a.pendulumLoc1D */
-
... -Data"); //replace IBVA with IBVAfake for test data f= IBVAfft(~ibva); f.start; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).m ...
-
... n.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); ) /* //manual control - add force to random object a.choose.addForceAngular2D(30) a.choose.addForceAngular2D(5) a.choose.addForceAn ...
-
... p { this.sendMsg("/g_queryTree", 0, 0); interval.wait; } } }; updateFunc.value; CmdPeriod.add(updateFunc); SystemClock.sched(3, { if(done.not, { actionIfFail.value(); "Server failed to respond to Group:queryTree!".warn; }); }); //action to ...
-
... ers //--render Pen.addOval(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... alse; var <endOSCFunc; var <cmdName; *defaultCmdName { ^'/reply' } *initClass { CmdPeriod.add( this ); } *new { |source, action, cmdName, id| ^super.new.init( source, cmdName ) .id_( id ) .action_( action ? { |value, time, responder, msg| v ...
-
... Point(p.position.x, p.position.y), p.mass, p.mass)); }; Pen.fill; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).m ...
-
... Point(p.position.x, p.position.y), p.mass, p.mass)); }; Pen.fill; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).m ...