-
... n.fillColor= Color.white; Pen.fillOval(Rect.aboutRedObject2D(obj2)); }; w.play; CmdPeriod.doOnce({w.close}); )
-
... Out.ar(0, snd!2); }).add; win.layout_( VLayout() .margins_(0) .add(keyboard) ); CmdPeriod.doOnce({ win.close; }); win.front; }); ) ⧉ ✔ When holding the ALT key down, modifying the value by pressing and releasing the mouse button gives a 'li ...
-
... oc.distance(cent)*50, \pan, obj.loc[0].linlin(0, width, -1, 1) ); }; }; w.play; CmdPeriod.doOnce({w.close}); } )
-
... t_( HLayout( colorPicker, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalModule/HelpSource/Classes/GMColorPicker.schelp link::Classes/GMColorPicker::
-
... mats: older versions as well as version 5 are supported. NOTE: does not survive CmdPeriod . Class Methods . new read and parse a text file. Arguments: path a String pointing to a text file. dataAction set the OpenBCI: -dataAction initAction ...
-
... render objects Pen.addOval(Rect.aboutRedObject2D(obj)); }; Pen.fill; }; w.play; CmdPeriod.doOnce({w.close}); } )
-
... r.grey(1-(i/~n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; ~win.play; CmdPeriod.doOnce({~win.close}); ) //--livecoding swapping worlds under the feet of the boids ( ~world= RedUniverse.migrateAll(~world, RedWorld3(RedVector2D[400, ...
-
... et(p.position.x.clip(0, width), p.position.y.clip(0, height), 0); }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).m ...
-
... Control, cutoffControl, resonControl; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth SynthDef("window-test", { arg note = 36, fc = 1000, rq = 0.25, bal=0, amp=0.4, gate = 1; var x; x = Mix.fill(4, { LFSaw.ar((not ...
-
... .aboutPoint(o.loc.round.asPoint*[wn, hn], pixelSize, pixelSize)); }; }; w.play; CmdPeriod.doOnce({w.close}); ~world= world; ) ~world.objects.do{|o, i| o.loc= RedVector2D[i, ~world.objects.size.rand]}; ~world.objects.do{|o, i| o.loc= RedVect ...