-
... inished Source: SystemActions.sc See also: ShutDown , ServerBoot , ServerTree , CmdPeriod Description StartUp registers functions to perform an action after the library has been compiled, and after the startup file has run. For instance thi ...
-
... ass*(1-(p.age/maxAge)), p.mass*(1-(p.age/maxAge)))); }; 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 ...
-
... ors[i].alpha= 0.5; Pen.fillOval(Rect.aboutRedVector2D(cent, 15)); }; }; w.play; CmdPeriod.doOnce({w.close}); ) //--play with the number of centroids/clusters ~k= 15 ~k= 50 ~k= 1 ~k= 2 ~k= 3 //--add some gravity to make things harder ~www.gr ...
-
... therEnd.position.x, s.getTheOtherEnd.position.y)); }; Pen.stroke; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).m ...
-
... ate baudrate of the serial port. universeSize size of the initial DMX universe. cmdperiod if true , the serial port will be closed on command-period. Inherited class methods Instance Methods Inherited instance methods Examples q = q ? (); S ...
-
... lor.grey(0.8, 0.5); }); Pen.fillOval(Rect.aboutRedObject2D(obj)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... _( HLayout( switchButton, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ Assigning states without specifying colors : ( var win = Window.new("", Rect(0, 400, 200, 100)); var switchButton = GMSw ...
-
... ; world.objects.do{|o, i| Pen.fillRect(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... t_( HLayout( closeButton, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalModule/HelpSource/Classes/GMCloseButton.schelp link::Classes/GMCloseButton::
-
... all sound, and keep an eye on the plot tree and post window (yes, it respawns) CmdPeriod.run; // Change some parameters MainHPF.set(\freq, 950) ⧉ ✔ helpfile source: /tmp/scquark_hs/PersistentMainFX/HelpSource/Classes/PersistentMainFX.schel ...