-
... ; world.objects.do{|o, i| Pen.fillRect(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... SchDict.new; myRate = 2 ** 5; // 32 ignoredHiers = []; this.schedChecker(dict); CmdPeriod.doOnce {ÊisRunning = false; }; } rate_ { |int = 32| ^myRate = int.nextPowerOfTwo; } rate { ^myRate } cease { isRunning = false; // stops the schedChec ...
-
... n.fillColor= Color.white; Pen.fillOval(Rect.aboutRedObject2D(obj2)); }; w.play; CmdPeriod.doOnce({w.close}); )
-
... oc.distance(cent)*50, \pan, obj.loc[0].linlin(0, width, -1, 1) ); }; }; w.play; CmdPeriod.doOnce({w.close}); } )
-
... elVals, setDBLabelVals; var scopeColor, bgColor, height, busNum; var onOffButt, cmdPeriodFunc, name, point; if(scopeColor.isNil, { scopeColor = Color.green }); if(bgColor.isNil, { bgColor = Color.green(0.1) }); busNum=0; height=300; name = ...
-
... 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, ...
-
... 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 , { ...
-
... 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 , { ...
-
... 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 ...