-
... n(\LogWindow, name); window.layout_(VLayout(textView).margins_(5).spacing_(0)); CmdPeriod.add(this); this.connect(); window.onClose_({ this.disconnect(); window = nil; textView = nil; CmdPeriod.remove(this); textViewSize = 0; }); }.defer(); ...
-
... pulse= OSCresponderNode(nil, \t_pulse, {|t, r, m| this.doPulse(t,r,m); }).add; CmdPeriod.doOnce {this.clear}; } doPulse {|t,r,m| var time, avgs; tick = m[1]-shift; avg.put(tick%10, Main.elapsedTime-lastTime); lastTime = Main.elapsedTime; a ...
-
... grey(1-(o.mass/12), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... illColor= Color.white; Pen.fillRect(Rect.aboutRedVector2D(bary, 1)); }; w.play; CmdPeriod.doOnce({w.close}); )
-
... a.sampler a.isPlaying a.soundFiles a.bus a.free //or close the window, or press cmdperiod
-
... grey(1-(o.mass/12), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... illColor= Color.white; Pen.fillRect(Rect.aboutRedVector2D(bary, 1)); }; w.play; CmdPeriod.doOnce({w.close}); )
-
... = Color.grey(o.mass/4); Pen.strokeRect(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )