-
... it Library. If not, see <http://www.gnu.org/licenses/>. */ CodeEditView { var <>object, <cs; var <view, <textView, <okButton, <cancelButton, <revertButton, <labelView; var <>action, <>failAction; *new { |parent, bounds, object, label, label ...
-
... }; ^noteses.collect(this.unpackNotes(_)) } // to store a strong reference to an object that will be used later in notes // that will store only a weak reference *register { arg object; weakRefs[object.hash] = object; } // remove strong refe ...
-
... }; ^noteses.collect(this.unpackNotes(_)) } // to store a strong reference to an object that will be used later in notes // that will store only a weak reference *register { arg object; weakRefs[object.hash] = object; } // remove strong refe ...
-
... RedWorld3(RedVector2D[width, height], wgrav, 3, 0); //dim,grav,maxvel,damp //--objects RedObject(world, RedVector2D[width*0.5, height*0.2], RedVector2D[3.0.rand2, 3.0.rand2], 0, 1, 10); //world,loc,vel,acc,mass,size RedObject(world, RedVec ...
-
Dimple Class to interface with the program Dimple Inherits from: : Object This is a class to interface with Dimple, created by the IDMIL (McGill University, Montreal). Creation / Class Methods *dimplePath_ *dimplePath This is the path that ...
-
UpdateChannel : Singleton { update { |object, what ...args| this.changed(what, *args) } } UpdateBroadcaster : Singleton { // simply rebroadcast update { |object, what ...args| dependantsDictionary.at(this).copy.do({ arg item; item.update(ob ...
-
... = RedWorld3(RedVector2D[width, height], 0, 10, 0.1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 5].rand2; var mass= 0.5.rrand(4); RedBoid(world, loc, vel, 0, mass, mass*5) //worl ...
-
... the client, defaulting to `false` when `status` >= 500 - `headers` - can be an object of header names to values to be sent to the client, defaulting to `undefined`. When defined, the key names should all be lower-cased - `message` - the tr ...
-
... dWorld3(RedVector2D[width, height], wgrav, 15, 0.5); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[250, 10].rand; //initial xy location var vel= RedVector2D[3.5, 0].rand; //initial velocity var acc= RedVector2D[0, 0]; //initial ...
-
... , height)).front; world= RedWorld3(RedVector[n, n]); //dim,grav,maxvel,damp //--objects {|x| {|y| var loc= RedVector[x, y]; RedAgent(world, loc).state_(0.25.coin.binaryValue); //world,loc,vel,acc,mass,size }.dup(n); }.dup(n); //--loop w.dra ...