-
... ies", Rect(128, 64, 340, 100)); w.view.decorator = f = FlowLayout(w.view.bounds,Point(4,4),Point(4,2)); t = GUI.staticText.new(w, Rect(0, 0, 75, height+2)); t.string = "RefGain: "; v[0] = GUI.staticText.new(w, Rect(0, 0, 30, height+2)); s[0 ...
-
... s doing and remember where it was, so that it can pick up again at exactly that point. You can get some numbers out of it, and call it again later and it will keep counting from the last number returned. (This is an example of a Stream . Yo ...
-
... e might be a Rect (it will take only the with and height values) or a Size or a Point (wich allows you to use the 200@200 syntax). (info: On return the newly allocated image will contain a NSCachedImageRep). Image.releaseAll - will release ...
-
... NOTE: In some other computer music systems and situations we deal with control points or breakpoints. If these control points have associated x positions (say in an envelope GUI, see SCEnvelopeView ) they must be converted to time differen ...
-
... kovSet , ShannonFinger Description MarkovSet is a Dictionary that contains keys pointing to WeighBags that contain objects and their probabilities. By parsing in a stream the Set "learns" what element can possibly follow another. 1 Part of ...
-
... alizedPos[1], 5, 5)); }; makeLabel = {|label, normalizedPos, color| Pen.stringAtPoint(label.asString, Point(window.bounds.width*normalizedPos[0] + 3, window.bounds.height*normalizedPos[1] + 3), color: color); }; // draw the boids window.dra ...
-
... alizedPos[1], 5, 5)); }; makeLabel = {|label, normalizedPos, color| Pen.stringAtPoint(label.asString, Point(window.bounds.width*normalizedPos[0] + 3, window.bounds.height*normalizedPos[1] + 3), color: color); }; // draw the boids window.dra ...
-
... (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new; v = VLayoutView (w, Rect (10,10,300,300) ); Array .fill( 10, { arg i; Slider ( v, Rect (0,0,75,20) ).value_(i ...
-
... .rightBottom, r.leftBottom ]\ .collect(\{ \cf3 |center|\cf0 \cf3 Rect\cf0 .aboutPoint(center,d,d) \})\ \});\ window.refresh\ \}\ \ panelSelect \{\ isSelected = \cf3 true\cf0 ;\ if(parent.notNil,\ \{ parent.panelSelect(\cf3 this\cf0 ) \})\ \ ...
-
... ethodSlot("methodName") . ( ~object = Object(); ~dependant = ( scored: { |self, points| "Points scored: %".format(points).postln }, touchdown: { "Touchdown!".postln }, fieldGoal: { "Field Goal!".postln }, ); ~connections = ConnectionList.wi ...