-
... n) ~node.nearestToNode[0].location */ TestKDTree : UnitTest { classvar <array, <size, <dims, <tree, <array2, <tree2, <>dumpTrees=false; setUp { } tearDown { } // Creates a 3D data structure and tests whether certain searches return the same ...
-
... n) ~node.nearestToNode[0].location */ TestKDTree : UnitTest { classvar <array, <size, <dims, <tree, <array2, <tree2, <>dumpTrees=false; setUp { } tearDown { } // Creates a 3D data structure and tests whether certain searches return the same ...
-
... rays to Strings ~symbolsArrayToString = { |arr| var res; if( arr.size == 0 ) { res = arr.asString; } { var strs = arr.collect{|el| ~symbolsArrayToString.(el); }; if( arr[0].size == 0 ){ res = "#[" ...
-
... } *getFirstLine {|file| var firstLine; firstLine = file.getLine(expectFirstLine.size + 10); ^firstLine; } *matches {|file| var l, m; l = AutomationFileText.getFirstLine(file); m = false; if (l == expectFirstLine) { m = true; }; file.seek(0, ...
-
... Inherited class methods Instance methods Data server rate index numChannels bufsize cycle Display window bounds size toggleSize zoom xZoom yZoom style Operation run quit Convenience setProperties Inherited instance methods Undocumented ins ...
-
... /////////// +Rect { //!!!TODO. clean up focal and scaling *aboutSSVector {|vec, size, width, height, depth, s= 1, f= 0.75| var x, y, z, ox, oy; z= (depth-vec.z/(depth*s)).linlin(0, 1, f, 1); x= vec.x*z; y= vec.y*z; /* ox= 1-z*(width*0.5)+x; ...
-
... il.if({ ar = [] }); // if first element is array, you have [[],[]...] (ar.at(0).size > 0).if({ args = ar }, { args = [ar] }); // same thing for patches (th.size == 0 or: { th.isString }).if({ th = [th] }); // create nodes: loop thru things ...
-
... r of frames to create the chain ~slices=3 // Generate markov chain (~array.size/~slices).do {|idx| var i = (idx * ~slices).asInt; var v = ~array[i..i+~slices-1]; ~mkv[v] = ~mkv[v] ++ [~array[i+~slices..i+~slices+~slices-1]]; } ...
-
... ; //increase counter }); }; //--collect greedy as a single big tree while({tree.size>2}, { n0= this.prTakeMinimum; n1= this.prTakeMinimum; tree.add((List[n0, n1] -> (n0.value+n1.value))); }); //--remove counters from tree tree= this.prRebui ...
-
... cy).description_("JoshGrain only"); window = OssiaAutomationProxy(josh, "Window_size", Float, [0, 0.2], 0.1, 'clip', critical:allCritical); window.node.unit_(OSSIA_time.second).description_("JoshGrain only"); random = OssiaAutomationProxy(j ...