-
... 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 ...
-
... er objects Pen.addRect(Rect.aboutRedObject2D(o)); }); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... .5)).clip(0, 1)); Pen.strokeOval(Rect.aboutRedObject3D(o, s, f)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... = Color.grey(o.mass/4); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... .5)).clip(0, 1)); Pen.strokeOval(Rect.aboutRedObject3D(o, s, f)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... = Color.grey(o.mass/4); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... | vl . sign . switch { 1 } { run ( CmdPeriod ) } } , msgNum: ( last ( y.x rowAt: 0 ) ) , msgType: ( \control ) ) .pe ...
-
... ld.contain(o); }; minDist= minDist*(sin(cnt/25)*0.02+1); cnt= cnt+1; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... ld.contain(o); }; minDist= minDist*(sin(cnt/25)*0.02+1); cnt= cnt+1; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... rd Pen.use{ Pen.translate(o.loc[0], o.loc[1]); points[i].draw; }; }; }; w.play; CmdPeriod.doOnce({w.close}); )