-
... olor= Color.white; Pen.strokeOval(Rect.aboutRedObject2D(attractor)); }; w.play; CmdPeriod.doOnce({w.close}); )
-
... , Rect(position.x, position.y, width, height), false ); parent= win; win.front; CmdPeriod.doOnce({this.close}); }); ^View(parent, Point(width, height)) .background_(GUI.skins.redFrik.background) .onClose_({this.close}); } }
-
... r= Color.grey(0.7, 0.5); Pen.strokeOval(Rect.aboutRedObject2D(o)); } }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {world.objects.do{|o| o.state.at(\synth).free}}; })
-
... e[\cell]*0.85+0.15, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... all particles Pen.addOval(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); } )
-
... t be inherited to be used!".error; } //Overwrite this (if needed) clearFunc { } cmdPeriod { this.clear; //stop and clear the previous task this.init(autostart: true); //re-init the task } start { if(task.isPlaying, { if(verbose, { ("AlgaThr ...
-
... ax(addrBook.onlinePeers.size, 1)); // minimum wait even if no other peers }); } cmdPeriod { this.startBeacons } makeOSCFuncs { compareDict = IdentityDictionary.new; // time here is elapsedTime when the processOSCPacket is called // since if ...
-
... hite; //Pen.fillOval(Rect.aboutPoint(c, 15, 15)); //draw centroid }; }; w.play; CmdPeriod.doOnce({w.close}); ) //--play with the number of centroids/clusters ~k= 15 ~k= 35 ~k= 2 ~k= 3 ~k= 10 //--add some gravity to make things harder ~www.g ...
-
... r.grey(1-(i/~n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; ~win.play; CmdPeriod.doOnce({~win.close}); ) //--livecoding interpolates worlds //--first create 2 different worlds ~black= RedWorld3(RedVector2D[400, 400], RedVector2D[0, ...
-
... ar globalShortcutsPath, globalShortcuts; var platform, scFunc; var syncStarter, cmdPeriodSynthRestart; var test; Class.initClassTree(Platform); Class.initClassTree(GUI); Class.initClassTree(SynthDescLib); Class.initClassTree(SynthDef); glob ...