-
... r boids dist = thisBoid.dist(thatBoid); // get their distance neighbors[nIdx] = Dictionary[\pos->thatBoid.pos, \vel->thatBoid.vel, \dist->dist]; // store in a dictionary //////// RULE 1 //////////////////////////////////// // nothing else t ...
-
... DefNames = 512; classvar <>synthDefDict; var <>name; *initClass{ tempDefCount = Dictionary.new; synthDefDict = IdentityDictionary( ); } *new { |name, func, args, category| ^super.basicNew( name, args, category, false ).name_(name).init(func ...
-
... | \ \ var w, v, txt, tmppoints, undone, all, participation;\ tmppoints = (); // dictionary for temp data of each collaborator \ undone = ();\ all = ();\ w = GUI .window.new( "draw on" + collective.myName, \ Rect (128, 64 + (format[1] + 10 * ...
-
... ortant calls by requesting resources via curl, and mapping JSON responses to SC Dictionary objects. This version supports APIv2, which introduced some differences with repect to APIv1. The most important change is that two types of authenti ...
-
... ng.minHeight = height; textEditing.maxHeight = height; } getState { var state = Dictionary(); state[\type] = "SCMScriptFieldView"; state[\code] = model[\script]; ^state; } // State behaviors loadState { | state | this.string = state[\code]; ...
-
... ces of Collection. There are many types of Collections including List , Array , Dictionary , Bag , Set , SortedList , etc. Class Methods: *newFrom(collection) Creates a new Collection from another collection. This supports the interface for ...
-
... t of the .quark File This quarkfile is written in sc code, and should contain a dictionary with basic information about the package. ( // required: \name : "theName" , \path : "foldername" , // almost always the same as the quark name \summ ...
-
... DefNames = 512; classvar <>synthDefDict; var <>name; *initClass{ tempDefCount = Dictionary.new; synthDefDict = IdentityDictionary( ); } *new { |name, func, args, category| ^super.basicNew( name, args, category, false ).name_(name).init(func ...
-
... ferPoolItemViews } dispose { this.remove; buffer.free; } getState { var state = Dictionary(); state[\filepath] = filepath; ^state; } loadState { |state| } }
-
... numTicks , tickSpacing: 64 ) Specifically for use by DrawGrid . This returns a Dictionary with keys: 'lines' , an array of values where lines should be drawn, and 'labels' , an array of 2-element arrays [value, "formatted label"] for each ...